You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title isn't quite accurate, it also only happens if you pass a path to deno test.
Repro:
// deno.jsonc{"workspace": ["member"]}
❯ mkdir member; touch member/deno.json
// main_test.ts (in root of workspace)Deno.test(functionmyCoolTest(){console.log("running test...");})
❯ deno test .
running 1 test from ./main_test.ts
myCoolTest ...
------- output -------
running test...
----- output end -----
myCoolTest ... ok (0ms)
running 1 test from ./main_test.ts
myCoolTest ...
------- post-test output -------
running test...
----- post-test output end -----
myCoolTest ... ok (0ms)
ok | 2 passed | 0 failed (11ms)
If you omit the . or the test is in member, this doesn't occur
The text was updated successfully, but these errors were encountered:
nathanwhit
changed the title
Deno test runs tests in workspace twice ls
Deno test runs tests in workspace twice if test is not in a member
Sep 30, 2024
Title isn't quite accurate, it also only happens if you pass a path to deno test.
Repro:
If you omit the
.
or the test is inmember
, this doesn't occurThe text was updated successfully, but these errors were encountered: