Browse Source

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
dev
YOU 8 years ago
committed by Evan You
parent
commit
e12d96a132
  1. 2
      test/unit/modules/compiler/parser.spec.js

2
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)
})
})

Loading…
Cancel
Save