summaryrefslogtreecommitdiff
path: root/tests/testdata/subdir/throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/subdir/throws.js')
-rw-r--r--tests/testdata/subdir/throws.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/subdir/throws.js b/tests/testdata/subdir/throws.js
new file mode 100644
index 000000000..abdf29156
--- /dev/null
+++ b/tests/testdata/subdir/throws.js
@@ -0,0 +1,6 @@
+// deno-lint-ignore-file
+export function boo() {
+ console.log("Boo!");
+}
+
+throw new Error("An error");