summaryrefslogtreecommitdiff
path: root/tests/testdata/test/uncaught_errors_2.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/test/uncaught_errors_2.ts')
-rw-r--r--tests/testdata/test/uncaught_errors_2.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testdata/test/uncaught_errors_2.ts b/tests/testdata/test/uncaught_errors_2.ts
new file mode 100644
index 000000000..8cafbe291
--- /dev/null
+++ b/tests/testdata/test/uncaught_errors_2.ts
@@ -0,0 +1,8 @@
+Deno.test("bar 1", () => {});
+
+Deno.test("bar 2", () => {
+ throw new Error("bar 2");
+});
+Deno.test("bar 3", () => {
+ throw new Error("bar 3 message");
+});