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

feat(experimental): Support using --all with node.js ES modules #1320

Merged
merged 1 commit into from May 24, 2020

Commits on May 21, 2020

  1. feat(experimental): Support using --all with node.js ES modules

    This allows `--all` to collect initial coverage from fils which node.js
    recognizes as ES modules (`.mjs` files and conditionally `.js` files).
    Previously this would cause node.js to produce an `ERR_REQUIRE_ESM`
    error.
    
    This does not enable collection of coverage during actual tests, for that
    you must use the experimental `@istanbuljs/esm-loader-hook`.
    coreyfarrell committed May 21, 2020
    Copy the full SHA
    3308760 View commit details
    Browse the repository at this point in the history