summaryrefslogtreecommitdiff
path: root/tests/testdata/check/node_builtin_modules/mod.ts
diff options
context:
space:
mode:
authorMohammad Sulaiman <mohammad.sulaiman@exalt.ps>2024-10-02 12:22:35 +0300
committerGitHub <noreply@github.com>2024-10-02 09:22:35 +0000
commit3c193aef98bea6b3e0c9592cfdb43268e7a7e4af (patch)
treeadbf9730a91c0f692a633f028d8066819e37ab94 /tests/testdata/check/node_builtin_modules/mod.ts
parentd116709d064ce85922f1fd635d5915b4659c83d5 (diff)
chore: deprecate check itests (#25963)
Diffstat (limited to 'tests/testdata/check/node_builtin_modules/mod.ts')
-rw-r--r--tests/testdata/check/node_builtin_modules/mod.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/testdata/check/node_builtin_modules/mod.ts b/tests/testdata/check/node_builtin_modules/mod.ts
deleted file mode 100644
index 0e62353fe..000000000
--- a/tests/testdata/check/node_builtin_modules/mod.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import fs from "node:fs";
-const _data = fs.readFileSync("./node_builtin.js", 123);
-
-// check node:module specifically because for deno check it should
-// resolve to the @types/node package, but at runtime it uses a different
-// builtin object than deno_std
-import { builtinModules } from "node:module";
-// should error about being string[]
-const _testString: number[] = builtinModules;