Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bun test incorrect result #17796

Open
Alsan opened this issue Feb 28, 2025 · 0 comments
Open

bun test incorrect result #17796

Alsan opened this issue Feb 28, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@Alsan
Copy link

Alsan commented Feb 28, 2025

What version of Bun is running?

1.2.4

What platform is your computer?

Darwin 24.3.0 arm64 arm

What steps can reproduce the bug?

  1. run bun test --only
  2. run bun test -t 'the test which report failed'

Image

What is the expected behavior?

the test should report correctly

What do you see instead?

as you can see, when run all tests (not just for --only flag, the --only flag is used to narrow down the test casses shown), it fails the test, but when i test the same test case solely, it passed.

Additional information

seems to be an async problem, although i don't use asyn in these cases.

@Alsan Alsan added bug Something isn't working needs triage labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant