Open mike-plummer opened 1 year ago
Hello,
+1 for ESM support
You may use this package to load the config ? https://github.com/istanbuljs/load-nyc-config
@mike-plummer any update here? Is there a proposed workaround at the moment for using cypress code coverage with "type": "module"
?
Based off @cypress-io/cypress#26729
ESM projects cannot currently use a custom
nyc.config.js
file because this project usesrequire(..)
to import that file -require
does not support ESM modules.This may be as simple as swapping out
require(..)
for anawait import(..)
, but there may be dragonsLogs and screenshots
Link to the repo
https://github.com/mike-plummer/code-coverage-668