Open NReilingh opened 4 days ago
1.1.34+5e5e7c60f
Darwin 24.1.0 arm64 arm
bun test ./doesNotExist.ts
echo $?
Exit code should be a value other than 0.
0
Exit code is 0.
This is kind of a meta-test failure, but should still be considered an error state -- otherwise, CI tools that are expecting an exit 0 when tests pass may pass code that hasn't been tested (but that the programmer is expecting to have been tested).
Yes definitely a bug.
What version of Bun is running?
1.1.34+5e5e7c60f
What platform is your computer?
Darwin 24.1.0 arm64 arm
What steps can reproduce the bug?
bun test ./doesNotExist.ts
echo $?
What is the expected behavior?
Exit code should be a value other than
0
.What do you see instead?
Exit code is
0
.Additional information
This is kind of a meta-test failure, but should still be considered an error state -- otherwise, CI tools that are expecting an exit 0 when tests pass may pass code that hasn't been tested (but that the programmer is expecting to have been tested).