From 11f0ccf8052065e37f92d8ba43e9624fcd3b9814 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 15 Sep 2023 16:46:48 +0100 Subject: fix(test): share fail fast tracker between threads (#20515) --- cli/tests/testdata/test/fail_fast.out | 1 + cli/tests/testdata/test/fail_fast_other.ts | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 cli/tests/testdata/test/fail_fast_other.ts (limited to 'cli/tests/testdata/test') diff --git a/cli/tests/testdata/test/fail_fast.out b/cli/tests/testdata/test/fail_fast.out index c0cf2df01..606d5b345 100644 --- a/cli/tests/testdata/test/fail_fast.out +++ b/cli/tests/testdata/test/fail_fast.out @@ -1,4 +1,5 @@ Check [WILDCARD]/test/fail_fast.ts +Check [WILDCARD]/test/fail_fast_other.ts running 10 tests from ./test/fail_fast.ts test 1 ... FAILED ([WILDCARD]) diff --git a/cli/tests/testdata/test/fail_fast_other.ts b/cli/tests/testdata/test/fail_fast_other.ts new file mode 100644 index 000000000..02aa878cf --- /dev/null +++ b/cli/tests/testdata/test/fail_fast_other.ts @@ -0,0 +1,3 @@ +Deno.test("test 11", () => { + throw new Error(); +}); -- cgit v1.2.3