diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-08-02 15:55:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-02 10:55:11 -0400 |
| commit | 2e2c623882e2bb09d0363146c277e44e583d68de (patch) | |
| tree | 5d2dfb3d8445aeabcc5b31a0e7bfb11628e0b981 /cli/tests/testdata/test/uncaught_errors_1.ts | |
| parent | 0b3b2e198db0611d65aa3e180762511d51db6481 (diff) | |
fix(test): race condition for cancelled tests (#15233)
Diffstat (limited to 'cli/tests/testdata/test/uncaught_errors_1.ts')
| -rw-r--r-- | cli/tests/testdata/test/uncaught_errors_1.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/uncaught_errors_1.ts b/cli/tests/testdata/test/uncaught_errors_1.ts index ea3c557e4..166b23ac3 100644 --- a/cli/tests/testdata/test/uncaught_errors_1.ts +++ b/cli/tests/testdata/test/uncaught_errors_1.ts @@ -3,3 +3,7 @@ Deno.test("foo 1", () => { }); Deno.test("foo 2", () => {}); + +Deno.test("foo 3", () => { + Promise.reject(new Error("foo 3 message")); +}); |
