aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/caught-require.hmr.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-04 01:02:55 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-04 01:02:55 -0800
commitb2b8c7f0b73cd9a4f46f4a801100294152c2d4bd (patch)
treed9b635830dc6f56f1c7ddd705287048c089b0ea6 /integration/snapshots/caught-require.hmr.debug.js
parent29554f4de328cad377f9dfbe799ac62876ad03a3 (diff)
downloadbun-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.js9
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"'`)); } )());