Skip to content

Commit 7cb01d0

Browse files
committed
test: fix jsx test
1 parent 2eb1ef9 commit 7cb01d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/babel-preset-app/__tests__/babel-preset.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ test('jsx', () => {
6464
}
6565
`.trim(), defaultOptions)
6666
expect(code).toMatch(`var h = arguments[0]`)
67-
expect(code).toMatch(`return h("div", null, ["bar"])`)
67+
expect(code).toMatch(`return h("div", ["bar"])`)
6868
})

0 commit comments

Comments
 (0)