Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nyc coverage #1

Open
late-warrior opened this issue Aug 25, 2021 · 1 comment
Open

Fix nyc coverage #1

late-warrior opened this issue Aug 25, 2021 · 1 comment

Comments

@late-warrior
Copy link
Owner

We need to hook in the @istanbuljs/esm-loader-hook for nyc to generate the right coverage stats, but
that fails with [ERR_UNKNOWN_FILE_EXTENSION]. It looks like setting this option for nyc disables the "experimental-specifier-resolution": "node" that we set for mocha (in .mocharc.cjs).

When fixed upstream (probably in nyc), the yarn test:nyc:fix should run without error.

@late-warrior
Copy link
Owner Author

istanbuljs/nyc#1353

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant