-
-
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
"--watch not supported without git/hg" when running with no pattern #5725
Comments
I thought watchAll was for projects outside of git/hg? |
Ah sorry, misread! Is this a dupe of #5551 then? |
Yes it is, mine isn't running in docker though. Probably why I couldn't find that issue when I searched. |
you need execute |
For me, the |
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. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Run tests with 'watchAll', hit 'p' to enter a pattern, hit 'return' with no pattern, get error and exit: "--watch is not supported without git/hg, please use --watchAll"
If the current behavior is a bug, please provide the steps to reproduce and
either a repl.it demo through https://repl.it/languages/jest or a minimal
repository on GitHub that we can
yarn install
andyarn test
.Make sure there is not git/hg file. Load any tests in watchAll mode with watchman. Same steps as above.
What is the expected behavior?
As per Jest v20, should re-run all tests with original command (watchAll).
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
Jest: 22.4.2
Node: 8.9
Yarn: 1.3.2
MacOS
The text was updated successfully, but these errors were encountered: