swc-node icon indicating copy to clipboard operation
swc-node copied to clipboard

Mystery file reported in coverage report using @swc-node/jest with v8 coveargeProvider

Open gyz0072004 opened this issue 3 years ago • 0 comments

When using v8 coverageProvider, a file named <<jsx-config-pragma.js>> which is not port of our source code is reported in the code coverage report. When switching to babel coverageProvider (the default from jest) or using ts-jest with v8 coverageProvider the file doesn't exist.

Node version: 16.6.0 Jest version: 27.5.1 @swc-node/jest version: 1.5.2

gyz0072004 avatar Jul 12 '22 05:07 gyz0072004