Skip to content

Fix nyc coverage #1

Description

@late-warrior

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions