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-automatic/assignment/input.js
vendored
Normal file
1
packages/babel-plugin-transform-react-jsx/test/fixtures/react-automatic/assignment/input.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var div = <Component {...props} foo="bar" />
|
||||
@@ -0,0 +1,5 @@
|
||||
import { jsx as _jsx } from "react/jsx-runtime";
|
||||
|
||||
var div = /*#__PURE__*/_jsx(Component, { ...props,
|
||||
foo: "bar"
|
||||
});
|
||||
Reference in New Issue
Block a user