diff options
author | 2022-07-09 15:45:38 +0400 | |
---|---|---|
committer | 2022-07-09 05:09:16 -0700 | |
commit | 7d1c9fa1a471d180c078a860c4885478f334bdf5 (patch) | |
tree | 1c7fa59320147142c828dc7ca1d38bbda3722839 /test/snapshots/spread_with_key.tsx | |
parent | dd5996379d3783e1982f156056dc550e365920d8 (diff) | |
download | bun-7d1c9fa1a471d180c078a860c4885478f334bdf5.tar.gz bun-7d1c9fa1a471d180c078a860c4885478f334bdf5.tar.zst bun-7d1c9fa1a471d180c078a860c4885478f334bdf5.zip |
Migrate to Zig v0.10.0
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" |