Skip to content

Commit f286610

Browse files
committed
Update tests for changes in Babel
1 parent fc0106f commit f286610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,9 @@ test('integration (@babel/plugin-transform-react-jsx, react)', function (t) {
724724
t.deepEqual(
725725
transform('# Hi <Icon /> {"!"}', {runtime: 'automatic'}),
726726
[
727+
'import { Fragment as _Fragment } from "react/jsx-runtime";',
727728
'import { jsxs as _jsxs } from "react/jsx-runtime";',
728729
'import { jsx as _jsx } from "react/jsx-runtime";',
729-
'import { Fragment as _Fragment } from "react/jsx-runtime";',
730730
'',
731731
'/*#__PURE__*/',
732732
'_jsx(_Fragment, {',

0 commit comments

Comments
 (0)