Reorganize some JSX-related tests (#12502)
This commit is contained in:
committed by
GitHub
parent
1bba1b6da3
commit
581aeb9a23
1
packages/babel-plugin-transform-react-jsx/test/fixtures/react/assignment/input.js
vendored
Normal file
1
packages/babel-plugin-transform-react-jsx/test/fixtures/react/assignment/input.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var div = <Component {...props} foo="bar" />
|
||||
3
packages/babel-plugin-transform-react-jsx/test/fixtures/react/assignment/output.js
vendored
Normal file
3
packages/babel-plugin-transform-react-jsx/test/fixtures/react/assignment/output.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
var div = /*#__PURE__*/React.createElement(Component, babelHelpers.extends({}, props, {
|
||||
foo: "bar"
|
||||
}));
|
||||
Reference in New Issue
Block a user