vite-jest icon indicating copy to clipboard operation
vite-jest copied to clipboard

Coverage report generates fingerprints in filenames

Open fauxparse opened this issue 3 years ago • 0 comments

If I turn collectCoverage on in my jest.config.js, the generated coverage report adds fingerprints into the names of the files (e.g. Button.tsx?1643925799148). This not only breaks the HTML report (as the filenames of the pages for the individual files include the question marks), but generates a new file per tested file for each test run!

I'm struggling to find a configuration option to turn this behaviour off, even just in the test environment.

fauxparse avatar Feb 03 '22 22:02 fauxparse