-
-
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
Fix --watchAll #4254
Fix --watchAll #4254
Conversation
@rogeliog i made a POC for watch testing, but got stuck on writing to I haven't look much into it, but it seems like we can mock |
● maps special values to valid options
expect(received).toMatchObject(expected)
Expected value to match object:
{"collectCoverage": true, "testEnvironment": "node", "useStderr": true, "watch": true}
Received:
{"collectCoverage": true, "testEnvironment": "node", "useStderr": true, "watch": false, "watchAll": true}
Difference:
- Expected
+ Received
Object {
"collectCoverage": true,
"testEnvironment": "node",
"useStderr": true,
- "watch": true,
+ "watch": false,
} Yeah, it seems like not quite complete:
|
Hi there folks, I intend to upgrade from jest version I would like to report a behaviour change in I am running the following script: Is this change intentional or is it a regression in existing functionality subject to a new fix ? I would very much like to have the former behaviour because I would like to start with a full list of test output and then switch to the output of one particular test file afterwards and still be able to watch the output reflecting changes in test or implementation files. Thanks in advance. |
@rogeliog Thank you very much 👍 |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fixes #4251. To be honest i'm not sure if this is the right fix cc:@cpojer
Test plan
It would be great to add a test to prevent this regression