summaryrefslogtreecommitdiff
path: root/tests/testdata/coverage/invalid_cache/mod_after.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/coverage/invalid_cache/mod_after.ts')
-rw-r--r--tests/testdata/coverage/invalid_cache/mod_after.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/coverage/invalid_cache/mod_after.ts b/tests/testdata/coverage/invalid_cache/mod_after.ts
new file mode 100644
index 000000000..294dc0843
--- /dev/null
+++ b/tests/testdata/coverage/invalid_cache/mod_after.ts
@@ -0,0 +1,6 @@
+export function test() {
+ return 42;
+}
+if (import.meta.main) {
+ test();
+}