summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/inspector/error_with_npm_import.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/inspector/error_with_npm_import.js b/cli/tests/testdata/inspector/error_with_npm_import.js
new file mode 100644
index 000000000..9244f2cf2
--- /dev/null
+++ b/cli/tests/testdata/inspector/error_with_npm_import.js
@@ -0,0 +1,7 @@
+// deno-lint-ignore-file
+
+import chalk from "npm:chalk";
+
+console.log("hello");
+
+throw new Error("boom!");