Skip to content

Commit e12d96a

Browse files
S-YOUyyx990803
authored andcommitted
chore(parser.spec): fix an IE conditional test with a typo (vuejs#5102)
* chore(parser.spec): fix an IE conditional test with a typo * check children.length is 0, instead of undefined
1 parent 7010d0f commit e12d96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/modules/compiler/parser.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,6 @@ describe('parser', () => {
504504
</div>
505505
`, options)
506506
expect(ast.tag).toBe('div')
507-
expect(ast.chilldren).toBeUndefined()
507+
expect(ast.children.length).toBe(0)
508508
})
509509
})

0 commit comments

Comments
 (0)