Please expand the coverage report section of the README to include minimal steps to set up coverage reporting. Such that people with lesser knowledge of babel and loaders can follow.
Included discussion was based on my personal experience. For context I use pnpm with workspaces via rush.
So I'v finally got it working.
- Install
"babel-register-esm", save dev
- In ./jest.config.mjs
collectCoverage: true,
coverageProvider: "babel",
coverageReporters: ["text"],
- Add file ./babel.config.json
{
"plugins": ["babel-plugin-istanbul"]
}
- Run tests with
NODE_OPTIONS='--loader=babel-register-esm' jest

Please expand the coverage report section of the README to include minimal steps to set up coverage reporting. Such that people with lesser knowledge of babel and loaders can follow.
Included discussion was based on my personal experience. For context I use
pnpmwith workspaces viarush.Discussed in #71 (comment)
So I'v finally got it working.
"babel-register-esm", save dev{ "plugins": ["babel-plugin-istanbul"] }NODE_OPTIONS='--loader=babel-register-esm' jest