aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/multiple-var.debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/multiple-var.debug.js')
-rw-r--r--integration/snapshots/multiple-var.debug.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/integration/snapshots/multiple-var.debug.js b/integration/snapshots/multiple-var.debug.js
index 1861aacf7..cb115b5fc 100644
--- a/integration/snapshots/multiple-var.debug.js
+++ b/integration/snapshots/multiple-var.debug.js
@@ -1,11 +1,9 @@
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;
export function test() {
console.assert(foo === false, "foo should be false");
return testDone(import.meta.url);
}
-var foo;