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