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.
We need to hook in the
@istanbuljs/esm-loader-hookfor nyc to generate the right coverage stats, butthat 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), theyarn test:nyc:fixshould run without error.