diff options
Diffstat (limited to 'test/snapshots/spread_with_key.tsx')
-rw-r--r-- | test/snapshots/spread_with_key.tsx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/snapshots/spread_with_key.tsx b/test/snapshots/spread_with_key.tsx index e096a76c8..266ec96ea 100644 --- a/test/snapshots/spread_with_key.tsx +++ b/test/snapshots/spread_with_key.tsx @@ -1,16 +1,14 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($2f488e5b); -import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($bbcd215f); +import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($1407d117); +import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($45b81229); var jsx = require(JSX).jsxDEV, jsxEl = require(JSXClassic).createElement; - -var { default: React} = require($bbcd215f); +var { default: React} = require($45b81229); export function SpreadWithTheKey({ className }) { const rest = {}; - return jsxEl("div", { className, ...rest, @@ -18,7 +16,6 @@ export function SpreadWithTheKey({ className }) { key: "spread-with-the-key" }, "Rendered component containing warning"); } - export function test() { console.assert(React.isValidElement(jsx(SpreadWithTheKey, { className: "foo" |