A simple CLI to run Node.js and report code coverage.
Repo jaydenseric/coverage-node, read from GitHub 14 min ago. jaydenseric has not joined Take My Repo.
node: URL scheme for Node.js builtin module imports.fs to node:fs/promises.^14.17.0 || ^16.0.0 || >= 18.0.0.coverage-node no longer skips code coverage and logs a warning for Node.js versions < v13.3 that produce unreliable coverage data as they are no longer supported.coverageSupported.mjscoverageSupportedMinNodeVersion.mjsjsconfig.json:
compilerOptions.maxNodeModuleJsDepth to 10.compilerOptions.module to nodenext.actions/checkout to v3.actions/setup-node to v3.ALLOW_MISSING_COVERAGE environment variable can now be used with the coverage-node CLI to prevent missing coverage from causing the process to exit with code 1, via #2.reportCliError function now explicitly calls .toString() for errors that don’t have a stack property.kleur chaining API.replace-stack-traces dev dependency in tests.^12.22.0 || ^14.17.0 || >= 16.0.0.files and exports fields../package from the package exports field; the full package.json filename must be used in a require path./public/.types script.jsdoc-md dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.CliError class tests.CLiError constructor arguments.singleQuote to the default, false.license.md MIT License file.test:jsdoc script that checks the readme API docs are up to date with the source JSDoc.