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.
If I turn
collectCoverage
on in myjest.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.