aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/multiple-var.hmr.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-22 15:47:11 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-22 15:47:11 -0800
commitdfa3e19cbf1a4fefcad424b7a5a50569ce3d6864 (patch)
tree094f1617823b84956710a1a8c8a8d055e17f9a3d /integration/snapshots/multiple-var.hmr.debug.js
parentfbac824975d425dde279cd4b618aceb49c889d0d (diff)
downloadbun-dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864.tar.gz
bun-dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864.tar.zst
bun-dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864.zip
snaspshots
Diffstat (limited to '')
-rw-r--r--integration/snapshots/multiple-var.hmr.debug.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/integration/snapshots/multiple-var.hmr.debug.js b/integration/snapshots/multiple-var.hmr.debug.js
index 0987b9ab0..71eabc794 100644
--- a/integration/snapshots/multiple-var.hmr.debug.js
+++ b/integration/snapshots/multiple-var.hmr.debug.js
@@ -14,14 +14,12 @@ var hmr = new FastHMR(2883558553, "multiple-var.js", FastRefresh), exports = hmr
var foo = true;
globalThis.TRUE_BUT_WE_CANT_TREESHAKE_IT = true;
if (globalThis.TRUE_BUT_WE_CANT_TREESHAKE_IT)
- ({
- foo
- } = {foo: false });
+ ({ foo } = { foo: false });
+ var foo;
function test() {
console.assert(foo === false, "foo should be false");
return testDone(import.meta.url);
}
- var foo;
hmr.exportAll({
test: () => test
});