#bun run --filter always finish with exit code 0

1 messages · Page 1 of 1 (latest)

stark karma
#

I want to run the tests in my CI/CD pipeline using bun --filter backend-base test, but when a test fails, the exit code is still 0

backend-base test:  0 pass
backend-base test:  4 skip
backend-base test:  2 fail
backend-base test: Ran 6 tests across 4 files. [1.86s]
backend-base test: Exited with code 1
#

Is it possible to pass a flag to detect any exit code other than 0?

median nimbus
#

What version of Bun?