diff options
author | 2022-06-22 23:21:48 -0700 | |
---|---|---|
committer | 2022-06-22 23:21:48 -0700 | |
commit | 729d445b6885f69dd2c6355f38707bd42851c791 (patch) | |
tree | f87a7c408929ea3f57bbb7ace380cf869da83c0e /test/snapshots/multiple-imports.debug.js | |
parent | 25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff) | |
download | bun-jarred/rename.tar.gz bun-jarred/rename.tar.zst bun-jarred/rename.zip |
change the directory structurejarred/rename
Diffstat (limited to 'test/snapshots/multiple-imports.debug.js')
-rw-r--r-- | test/snapshots/multiple-imports.debug.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/snapshots/multiple-imports.debug.js b/test/snapshots/multiple-imports.debug.js new file mode 100644 index 000000000..af9396b46 --- /dev/null +++ b/test/snapshots/multiple-imports.debug.js @@ -0,0 +1,25 @@ +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); +var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; + +var { default: React} = require($bbcd215f); +var { default: React2} = require($bbcd215f); +const bacon = React; + +const bacon2 = jsx(JSXFrag, { + children: "hello" +}, undefined, false, undefined, this); +export function test() { + console.assert(bacon === React); + console.assert(bacon === React2); + console.assert(typeof bacon2 !== "undefined"); + console.assert(React.isValidElement(bacon2)); + return testDone(import.meta.url); +} + +//# sourceMappingURL=http://localhost:8080/multiple-imports.js.map |