Skip to content

Commit 9fd823a

Browse files
committed
test: use valid JSX syntax for combined test
The syntax will cause a hard error since babel v7.7.3, because of babel/babel#10682
1 parent 1598c23 commit 9fd823a

File tree

1 file changed

+2
-2
lines changed
  • packages/babel-plugin-transform-vue-jsx/test

1 file changed

+2
-2
lines changed

packages/babel-plugin-transform-vue-jsx/test/snapshot.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ render(h => [h(Alpha, ["test"]), h("Beta", ["test"])]);`,
6666
6767
Some text
6868
goes here
69-
{...test}
7069
70+
{...test}
7171
</div>)`,
72-
to: `render(h => h("div", ["test", test, " ", ...test, h("tag1"), h("tag2"), "Some text goes here"]));`,
72+
to: `render(h => h("div", ["test", test, h("tag1"), h("tag2"), "Some text goes here", ...test]));`,
7373
},
7474
{
7575
name: 'Plain attrs',

0 commit comments

Comments
 (0)