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
--------------------------------------------------------------------|---------|---------|-------------------
File | % Funcs | % Lines | Uncovered Line #s
--------------------------------------------------------------------|---------|---------|-------------------
All files | 87.07 | 90.24 |
silverbucket
changed the title
Bun test returns exit code 1 even when all tests pass
Bun test returns exit code 1 even when coverage and coverageThreshold used together
Feb 7, 2025
What version of Bun is running?
1.2.2+c1708ea6a
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
What is the expected behavior?
All tests pass, within coverage limits, exit status should be 0.
What do you see instead?
No matter if tests are failing or not, or coverage limits are exceeded or not, the exit status is always 1.
Additional information
You can try this out on my migration branch
switch-to-bun
:https://github.com/sockethub/sockethub/tree/switch-to-bun
And view the CI failure here:
https://github.com/sockethub/sockethub/actions/runs/13124596661/job/36618267430?pr=886
The text was updated successfully, but these errors were encountered: