Skip to content

Commit 92bc35e

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 7f4ddd5 commit 92bc35e

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ render(h => [h(Alpha, ["test"]), h("Beta", ["test"])]);`,
6060
{
6161
name: 'Combined content',
6262
from: `render(h => <div>
63-
test{test} {...test}
63+
test{test}
6464
<tag1 />
6565
<tag2 />
6666
6767
Some text
6868
goes here
6969
70-
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)