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 clean to ensure dist folder is removed
- run
npm run test and see that tests run successfully after building
- run
npm run clean to ensure that dist folder is removed
- run
npm run test -- --bail false and 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.
Describe the bug
Running tests with
npx aegir test --bail falseflag will not triggeraegir buildwhich would be otherwise triggered bynpx aegir testTo Reproduce
Steps to reproduce the behavior:
npm run cleanto ensuredistfolder is removednpm run testand see that tests run successfully after buildingnpm run cleanto ensure thatdistfolder is removednpm run test -- --bail falseand see the below error message:Error: No test files foundExpected 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 falsewhile 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.