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
Thinking test is an eventually alias for Deno.test(), I didn't pay much attention when I left Deno.test()s inside a describe during a refactoring. But the result is that the describe succeeds even if a Deno.test() fails.
These 2 sets of test runners are not supposed to work together in nested way like the above. Please use either Deno.test or describe at a time. (The mixed usage with non nested way should be fine though)
Describe the bug
Thinking
test
is an eventually alias forDeno.test()
, I didn't pay much attention when I leftDeno.test()
s inside adescribe
during a refactoring. But the result is that thedescribe
succeeds even if aDeno.test()
fails.Steps to Reproduce
main_test.ts:
Expected behavior
Same as if replacing
Deno.test
withtest
. Now,running 3 tests from ./main_test.ts
is incorrectaddition
should not beok
FAILED | 2 passed | 1 failed
- incorrectEnvironment
@std/testing@^1.0.9
The text was updated successfully, but these errors were encountered: