Open NikolayMakhonin opened 2 years ago
This is caused by ts-node
recent update. see https://github.com/TypeStrong/ts-node/pull/1771 as reported by https://github.com/TypeStrong/ts-node/issues/1790. Downgrade ts-node to 10.8.0 result the issue for me.
Yes, it working with ts-node@10.8.0, but not working with ts-node@10.8.1
I just confirmed the fix in ts-node 10.8.2 resolves the issue for me.
Link to bug demonstration repository
https://github.com/NikolayMakhonin/mocha-ts-nyc-error
Expected Behavior
Work without error and with correct paths to the files
Observed Behavior
Incorrect file paths and error:
Troubleshooting steps
you should see this:
Environment Information