diff options
author | 2022-06-22 23:21:48 -0700 | |
---|---|---|
committer | 2022-06-22 23:21:48 -0700 | |
commit | 729d445b6885f69dd2c6355f38707bd42851c791 (patch) | |
tree | f87a7c408929ea3f57bbb7ace380cf869da83c0e /integration/snapshots/export.hmr.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 'integration/snapshots/export.hmr.debug.js')
-rw-r--r-- | integration/snapshots/export.hmr.debug.js | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/integration/snapshots/export.hmr.debug.js b/integration/snapshots/export.hmr.debug.js deleted file mode 100644 index 4bcc6ef59..000000000 --- a/integration/snapshots/export.hmr.debug.js +++ /dev/null @@ -1,80 +0,0 @@ -import { -__HMRClient as Bun -} from "http://localhost:8080/bun:wrap"; -Bun.activate(true); - -import { -__FastRefreshModule as FastHMR -} from "http://localhost:8080/bun:wrap"; -import { -__FastRefreshRuntime as FastRefresh -} from "http://localhost:8080/bun:wrap"; -import what from "http://localhost:8080/_auth.js"; -import * as where from "http://localhost:8080/_auth.js"; -var hmr = new FastHMR(1879780259, "export.js", FastRefresh), exports = hmr.exports; - -(hmr._load = function() { - var yoyoyo = "yoyoyo"; - function hey() { - return true; - } - var foo = () => { - }; - var bar = 100; - var powerLevel = Symbol("9001"); - function test() { - hey(); - foo(); - if (where.default !== "hi") - throw new Error(`_auth import is incorrect.`); - console.assert(powerLevel.description === "9001", "Symbol is not exported correctly"); - return testDone(import.meta.url); - } - hmr.exportAll({ - yoyoyo: () => yoyoyo, - default: () => hey, - foo: () => foo, - bar: () => bar, - powerLevel: () => powerLevel, - what: () => what, - when: () => what, - whence: () => what, - where: () => where, - booop: () => bar, - test: () => test - }); -})(); -var $$hmr_yoyoyo = hmr.exports.yoyoyo, $$hmr_default = hmr.exports.default, $$hmr_foo = hmr.exports.foo, $$hmr_bar = hmr.exports.bar, $$hmr_powerLevel = hmr.exports.powerLevel, $$hmr_what = hmr.exports.what, $$hmr_when = hmr.exports.when, $$hmr_whence = hmr.exports.whence, $$hmr_where = hmr.exports.where, $$hmr_booop = hmr.exports.booop, $$hmr_test = hmr.exports.test; -hmr._update = function(exports) { - $$hmr_yoyoyo = exports.yoyoyo; - $$hmr_default = exports.default; - $$hmr_foo = exports.foo; - $$hmr_bar = exports.bar; - $$hmr_powerLevel = exports.powerLevel; - $$hmr_what = exports.what; - $$hmr_when = exports.when; - $$hmr_whence = exports.whence; - $$hmr_where = exports.where; - $$hmr_booop = exports.booop; - $$hmr_test = exports.test; -}; - -export { - $$hmr_yoyoyo as yoyoyo, - $$hmr_default as default, - $$hmr_foo as foo, - $$hmr_bar as bar, - $$hmr_powerLevel as powerLevel, - $$hmr_what as what, - $$hmr_when as when, - $$hmr_whence as whence, - $$hmr_where as where, - $$hmr_booop as booop, - $$hmr_test as test -}; -export { default as auth } from "http://localhost:8080/_auth.js"; -export { default as login } from "http://localhost:8080/_login.js"; -export * from "http://localhost:8080/_bacon.js"; -export { } from "http://localhost:8080/_bacon.js"; - -//# sourceMappingURL=http://localhost:8080/export.js.map |