Skip to content

Commit 122f758

Browse files
authored
test(compiler-vapor): fix v-for test (#13347)
1 parent 5036f91 commit 122f758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-vapor/__tests__/transforms/vFor.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('compiler: v-for', () => {
124124
`<div v-for="(value, key, index) in list" :key="key">{{ value + key + index }}</div>`,
125125
)
126126
expect(code).matchSnapshot()
127-
expect(ir.block.operation[0]).toMatchObject({
127+
expect(ir.block.dynamic.children[0].operation).toMatchObject({
128128
type: IRNodeTypes.FOR,
129129
source: {
130130
type: NodeTypes.SIMPLE_EXPRESSION,

0 commit comments

Comments
 (0)