Open
Description
Environment
-
node -v
: 9.3.0 -
npm -v
: 5.5.1 -
npm ls react-scripts
(if you haven’t ejected): - -
Operating system: Windows 10
Steps to Reproduce
- Create a git project and setup jest to collect code coverage
- Keep vscode's
"jest.runAllTestsFirst": true
- Commit all changes
- Reload jest runner (which starts the initial full test run)
Expected Behavior
Code coverage overlay should be available for the whole time and the whole project.
Actual Behavior
Code coverage overlay works during the initial full test run, but disappears as soon as jest shows No tests found related to files changed since last commit.
.
As soon as one saves an edit in a covered file code coverage reappears for all tested files (not just the edited one).
If necessary, I could provide a sample repository and further instructions.