diff options
author | 2022-02-04 01:02:55 -0800 | |
---|---|---|
committer | 2022-02-04 01:02:55 -0800 | |
commit | b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd (patch) | |
tree | d9b635830dc6f56f1c7ddd705287048c089b0ea6 /integration/snapshots/caught-require.hmr.debug.js | |
parent | 29554f4de328cad377f9dfbe799ac62876ad03a3 (diff) | |
download | bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.gz bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.tar.zst bun-b2b8c7f0b73cd9a4f46f4a801100294152c2d4bd.zip |
:camera:
Diffstat (limited to 'integration/snapshots/caught-require.hmr.debug.js')
-rw-r--r-- | integration/snapshots/caught-require.hmr.debug.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/integration/snapshots/caught-require.hmr.debug.js b/integration/snapshots/caught-require.hmr.debug.js index 7144220d8..1a7114694 100644 --- a/integration/snapshots/caught-require.hmr.debug.js +++ b/integration/snapshots/caught-require.hmr.debug.js @@ -2,14 +2,17 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; import { -__HMRModule as HMR +__HMRClient as Bun } from "http://localhost:8080/bun:wrap"; import { -__HMRClient as Bun +__FastRefreshModule as FastHMR +} from "http://localhost:8080/bun:wrap"; +import { +__FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; Bun.activate(true); -var hmr = new HMR(2398506918, "caught-require.js"), exports = hmr.exports; +var hmr = new FastHMR(2398506918, "caught-require.js", FastRefresh), exports = hmr.exports; await (hmr._load = async function() { try { require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )()); |