Skip to content

v0.1.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@jespertheend jespertheend released this 30 Jan 14:51
· 81 commits to main since this release

This release adds support for modifying coverage data from Deno so that it matches that of your real files.
You can generate coverage maps via --fi-coverage-map on the command line, or use the api:

const importer = new Importer(import.meta.url);
importer.onCoverageMapEntryAdded((entry) => {
  // do stuff with entry here
});
// or after importing your modules:
const coverageMap = importer.getCoverageMap();

Learn all about it in the readme.