mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
fix(coverage): merge duplicate reports (#8942)
Merging multiple runs isn't quite right because we rely on a 0 count to signal that a block hasn't been called. Other tools like c8 expect this to be true as-well so we need to do our best to merge coverage files rather than duplicating them.
This commit is contained in:
parent
3e5a3daf59
commit
4ca77ad84c
5 changed files with 85 additions and 27 deletions
|
@ -1,3 +1,3 @@
|
|||
import { returnsFoo2 } from "./subdir/mod1.ts";
|
||||
import { returnsHi } from "./subdir/mod1.ts";
|
||||
|
||||
returnsFoo2();
|
||||
returnsHi();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue