summaryrefslogtreecommitdiff
path: root/tests/testdata/run/if_main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/run/if_main.ts')
-rw-r--r--tests/testdata/run/if_main.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testdata/run/if_main.ts b/tests/testdata/run/if_main.ts
deleted file mode 100644
index 4dcfecea0..000000000
--- a/tests/testdata/run/if_main.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-if (import.meta.main) {
- console.log("main");
-} else {
- console.log("import.meta.url", import.meta.url);
- throw Error("not main");
-}