Alpha 3.0.0-next.68 test --coverage enters watch mode
See original GitHub issueIs this a bug report?
Yes
Did you try recovering your dependencies?
Yes.
yarn --version: 1.15.2
Which terms did you search for in User Guide?
alpha test --coverage enters watch mode
Environment
Environment Info:
System: OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver) CPU: x64 Intel® Core™ i7-7600U CPU @ 2.80GHz Binaries: Node: 10.15.3 - /usr/bin/node Yarn: 1.15.2 - /usr/bin/yarn npm: 6.4.1 - /usr/bin/npm Browsers: Chrome: 73.0.3683.103 Firefox: 66.0.3 npmPackages: react: ^16.8.6 => 16.8.6 react-dom: ^16.8.6 => 16.8.6 react-scripts: 3.0.0-next.68 => 3.0.0-next.68+4b5b76b7 npmGlobalPackages: create-react-app: 1.5.2
Steps to Reproduce
In terminal
npx create-react-app@next --scripts-version=3.0.0-next.68 app-name
cd app-name
yarn test --coverage
Check terminal output
Expected Behavior
Run a jest test coverage report.
Actual Behavior
Looks like it is doing a coverage report, but seems to enter jest watch mode.
Reproducible Demo
https://github.com/jkdowdle/creact-react-app-3.0.0-next.68-test-coverage-issue
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Untitled
Watch modern family season 5 episode 23, Buddy handleson, Tida omoromachi! ... Noc bez sna cover, Studentenwerke bielefeld, Alpha 5.20 interview youtube, ...
Read more >Untitled
Menghujam jantungku cover acoustic, Hyetal northwest passage, Wait for turn. ... Lettera pastorale vescovo beschi, Test brunner kamin, Banderas europa en ...
Read more >Scalability and performance OpenShift Container Platform 4.11
OpenShift Container Platform environment and configuration on which the cluster maximums are tested" Collapse section "9.2.
Read more >DHS Contraceptive Calendar Tutorial - The DHS Program
It then provides an example of the contraceptive discontinuation rates using the event file. Programs and coding resources. The tutorial comes with a...
Read more >10-33: Radio Operator Handbook - GlobalSecurity.org
modes. It operates over a 30–512 MHz frequency rage in FM, AM, or ... and COMSEC information but inaccurate time (+ or –...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @jkdowdle, Thanks for testing the latest alpha. This is an intentional change. jest did not support watch mode and coverage at the same time last year, so the previous behavior of
yarn test --coverage
did not run in watch mode.Now that jest supports --coverage flag in watch mode, the following behaviors are supported by default:
yarn test --coverage
which runs jest in watch mode and prints coverage of the touched filesyarn test --coverage --watchAll=false
which runs jest in non-watch mode and prints coverage of all files.Likely related to this change: #4176