2
0
Эх сурвалжийг харах

chore(parser.spec): fix an IE conditional test with a typo (#5102)

* chore(parser.spec): fix an IE conditional test with a typo

* check children.length is 0, instead of undefined
YOU 9 жил өмнө
parent
commit
e12d96a132

+ 1 - 1
test/unit/modules/compiler/parser.spec.js

@@ -504,6 +504,6 @@ describe('parser', () => {
       </div>
     `, options)
     expect(ast.tag).toBe('div')
-    expect(ast.chilldren).toBeUndefined()
+    expect(ast.children.length).toBe(0)
   })
 })