summaryrefslogtreecommitdiff
path: root/tests/testdata/inspector/error_with_npm_import.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/inspector/error_with_npm_import.js')
-rw-r--r--tests/testdata/inspector/error_with_npm_import.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testdata/inspector/error_with_npm_import.js b/tests/testdata/inspector/error_with_npm_import.js
new file mode 100644
index 000000000..9244f2cf2
--- /dev/null
+++ b/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!");