-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: aegir test --bail
doesn't adhere to build configuration
#1488
Comments
SgtPooki
changed the title
bug: bail doesn't adhere to "build" configuration
bug: Mar 21, 2024
aegir test --bail
doesn't adhere to build configuration
Also noticed that we have an alias conflict
|
The alias conflict is probably what's causing this 😢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Running tests with
npx aegir test --bail false
flag will not triggeraegir build
which would be otherwise triggered bynpx aegir test
To Reproduce
Steps to reproduce the behavior:
npm run clean
to ensuredist
folder is removednpm run test
and see that tests run successfully after buildingnpm run clean
to ensure thatdist
folder is removednpm 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.The text was updated successfully, but these errors were encountered: