summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/node_prefix_missing/main.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-01-24 21:14:49 +0100
committerGitHub <noreply@github.com>2023-01-24 15:14:49 -0500
commitf14ea3d4d43eb579674f508b6a534429cc9191d6 (patch)
treed727a8c0a02c5ffca9d891ca4fc462e67275ad19 /cli/tests/testdata/run/node_prefix_missing/main.ts
parente1c51f3c0d595542fe471359916df2a7b6be5484 (diff)
feat: suggest adding a "node:" prefix for bare specifiers that look like built-in Node modules (#17519)
Diffstat (limited to 'cli/tests/testdata/run/node_prefix_missing/main.ts')
-rw-r--r--cli/tests/testdata/run/node_prefix_missing/main.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/node_prefix_missing/main.ts b/cli/tests/testdata/run/node_prefix_missing/main.ts
new file mode 100644
index 000000000..c5c1885a2
--- /dev/null
+++ b/cli/tests/testdata/run/node_prefix_missing/main.ts
@@ -0,0 +1,3 @@
+import fs from "fs";
+
+console.log(fs.writeFile);