From 4ca77ad84c46ba4afef95f0b6775377d350b7339 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 5 Jan 2021 00:01:21 +0800 Subject: 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. --- cli/tests/run_coverage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/run_coverage.ts') diff --git a/cli/tests/run_coverage.ts b/cli/tests/run_coverage.ts index 098d463e8..d1443dfad 100644 --- a/cli/tests/run_coverage.ts +++ b/cli/tests/run_coverage.ts @@ -1,3 +1,3 @@ -import { returnsFoo2 } from "./subdir/mod1.ts"; +import { returnsHi } from "./subdir/mod1.ts"; -returnsFoo2(); +returnsHi(); -- cgit v1.2.3