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
// test.tsimport{describe,it,expect}from'bun:test'describe('describe',()=>{// without describe it doesn't work as expected either// same for test instead of itit('test 1',()=>{expect(1).toBe(1)// also runs})it.only('test 2',()=>{expect(2).toBe(2)})})
bun test ./test.ts
✓ describe > test 1 [0.03ms]
✓ describe > test 2 [0.01ms]
What is the expected behavior?
test runner doesn't run tests which are not marked as only
What do you see instead?
test runner runs all tests above the one which is marked as only
Additional information
No response
The text was updated successfully, but these errors were encountered:
What version of Bun is running?
1.1.7+b0b7db5c0
What platform is your computer?
Darwin 23.4.0 arm64 arm
What steps can reproduce the bug?
bun test ./test.ts
What is the expected behavior?
test runner doesn't run tests which are not marked as only
What do you see instead?
test runner runs all tests above the one which is marked as only
Additional information
No response
The text was updated successfully, but these errors were encountered: