-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
notifyMode is ignored when used at jest.config.js #8826
Comments
Huh, seems like a silly bug. Wanna send a PR fixing it? Without digging into it, I'd guess the error is in the |
Sure. Thanks for pointing the |
@SimenB The problem is that the defaults are set to the Argv, but the Argv has higher priority than the jest.config.js options. It seems to be impacting other variables like 'maxConcurency', for example. |
Yeah I'd say just do not specify yargs defaults, but |
notifyMode is still ignored. please help! 🙂 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
The
notifyMode
is ignored when specified atjest.config.js
, but not when used via CLI.Tested on MacOS Mojave 10.14.5.
To Reproduce
Steps to reproduce the behavior:
Run
jest
.If you run it with
jest --notifyMode=failure
it will work. (It doesn't show the notify window)Expected behavior
Not to show the notify window when
notifyMode
isfailure
and all tests pass.Link to repl or repo (highly encouraged)
Not able to reproduce on repl.it demo.
The text was updated successfully, but these errors were encountered: