-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Describe the bug
Running tests with npx aegir test --bail false flag will not trigger aegir build which would be otherwise triggered by npx aegir test
To Reproduce
Steps to reproduce the behavior:
- Go to any project configured with aegir build and test, such as https://github.com/ipfs/helia-verified-fetch
- run
npm run cleanto ensuredistfolder is removed - run
npm run testand see that tests run successfully after building - run
npm run cleanto ensure thatdistfolder is removed - run
npm run test -- --bail falseand see the below error message:Error: No test files found
Expected behavior
I expect the same test flow to occur, though mocha should no longer bail for any given test.
Additional context
I have been running some tests with DEBUG="test*,test*:trace" npm run test -- -g 'abort-handling'
and then running DEBUG="test*,test*:trace" npm run test -- -g 'abort-handling' --bail false while changing some things. When running tests without the bail flag, aegir builds my tests and then runs the tests as expected. With it, aegir does not rebuild the src & tests.
Metadata
Metadata
Assignees
Labels
No labels