aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/shadow.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration/bunjs-only-snippets/shadow.test.js')
-rw-r--r--integration/bunjs-only-snippets/shadow.test.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/integration/bunjs-only-snippets/shadow.test.js b/integration/bunjs-only-snippets/shadow.test.js
deleted file mode 100644
index 3fffcac90..000000000
--- a/integration/bunjs-only-snippets/shadow.test.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { describe, it, expect } from "bun:test";
-
-it("shadow realm works", () => {
- const red = new ShadowRealm();
- globalThis.someValue = 1;
- // Affects only the ShadowRealm's global
- const result = red.evaluate("globalThis.someValue = 2;");
- expect(globalThis.someValue).toBe(1);
- expect(result).toBe(2);
-});