From e12d96a1325ae4ed3e5520c1de68f5cd774e5515 Mon Sep 17 00:00:00 2001 From: YOU Date: Wed, 8 Mar 2017 02:17:08 +0000 Subject: [PATCH] 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 --- test/unit/modules/compiler/parser.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/modules/compiler/parser.spec.js b/test/unit/modules/compiler/parser.spec.js index 0e432000..06e3ffd8 100644 --- a/test/unit/modules/compiler/parser.spec.js +++ b/test/unit/modules/compiler/parser.spec.js @@ -504,6 +504,6 @@ describe('parser', () => { `, options) expect(ast.tag).toBe('div') - expect(ast.chilldren).toBeUndefined() + expect(ast.children.length).toBe(0) }) })