swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.72k stars 71 forks source link

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

Open gyz0072004 opened 2 years ago

gyz0072004 commented 2 years ago

When using v8 coverageProvider, a file named <> 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