diff options
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"'`)); } )()); |