summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/report_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/test/report_error.ts')
-rw-r--r--cli/tests/testdata/test/report_error.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/report_error.ts b/cli/tests/testdata/test/report_error.ts
new file mode 100644
index 000000000..56b6db26c
--- /dev/null
+++ b/cli/tests/testdata/test/report_error.ts
@@ -0,0 +1,6 @@
+Deno.test("foo", () => {
+ reportError(new Error("foo"));
+ console.log(1);
+});
+
+Deno.test("bar", () => {});