@@ -984,9 +984,9 @@ test('integration (@babel/plugin-transform-react-jsx, react)', () => {
984984 assert . deepEqual (
985985 transform ( '# Hi <Icon /> {"!"}' , { runtime : 'automatic' } ) ,
986986 [
987- 'import { Fragment as _Fragment } from "react/jsx-runtime";' ,
988987 'import { jsx as _jsx } from "react/jsx-runtime";' ,
989988 'import { jsxs as _jsxs } from "react/jsx-runtime";' ,
989+ 'import { Fragment as _Fragment } from "react/jsx-runtime";' ,
990990 '/*#__PURE__*/_jsx(_Fragment, {' ,
991991 ' children: /*#__PURE__*/_jsxs("h1", {' ,
992992 ' children: ["Hi ", /*#__PURE__*/_jsx(Icon, {}), " ", "!"]' ,
@@ -998,7 +998,7 @@ test('integration (@babel/plugin-transform-react-jsx, react)', () => {
998998
999999 assert . deepEqual (
10001000 transform ( '# Hi <Icon /> {"!"}' , { pragma : 'a' , pragmaFrag : 'b' } ) ,
1001- 'a("b" , null, a("h1", null, "Hi ", a(Icon, null), " ", "!"));' ,
1001+ 'a(b , null, a("h1", null, "Hi ", a(Icon, null), " ", "!"));' ,
10021002 'should integrate w/ `@babel/plugin-transform-react-jsx` (pragma, pragmaFrag)'
10031003 )
10041004
@@ -1009,9 +1009,9 @@ test('integration (@babel/plugin-transform-react-jsx, react)', () => {
10091009 ) ,
10101010 [
10111011 'import /* a */a from "b";' ,
1012- 'import { Fragment as _Fragment } from "react/jsx-runtime";' ,
10131012 'import { jsx as _jsx } from "react/jsx-runtime";' ,
10141013 'import { jsxs as _jsxs } from "react/jsx-runtime";' ,
1014+ 'import { Fragment as _Fragment } from "react/jsx-runtime";' ,
10151015 '/*#__PURE__*/_jsx(_Fragment, {' ,
10161016 ' children: /*#__PURE__*/_jsxs("h1", {' ,
10171017 ' children: [" ", /*#__PURE__*/_jsx("x", {' ,
0 commit comments