aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/optional-chain-with-function.hmr.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-23 03:15:27 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-23 03:15:27 -0700
commit683b171c3ffc54957e1f02952938ff010fdcbbe0 (patch)
tree9ff186957214f6bccc696f5093cb88b0e39a40aa /integration/snapshots/optional-chain-with-function.hmr.debug.js
parentea241fcec7add6187ec915ed0b3983f3be0529f9 (diff)
downloadbun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.gz
bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.tar.zst
bun-683b171c3ffc54957e1f02952938ff010fdcbbe0.zip
:camera:
Diffstat (limited to 'integration/snapshots/optional-chain-with-function.hmr.debug.js')
-rw-r--r--integration/snapshots/optional-chain-with-function.hmr.debug.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/integration/snapshots/optional-chain-with-function.hmr.debug.js b/integration/snapshots/optional-chain-with-function.hmr.debug.js
index 42eb7c742..e7f97cb3f 100644
--- a/integration/snapshots/optional-chain-with-function.hmr.debug.js
+++ b/integration/snapshots/optional-chain-with-function.hmr.debug.js
@@ -1,15 +1,16 @@
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";
-Bun.activate(true);
-
var hmr = new FastHMR(3608848620, "optional-chain-with-function.js", FastRefresh), exports = hmr.exports;
+
(hmr._load = function() {
function test() {
try {