mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
13751d9de6
Covered ranges were not merged and thus it appeared that some lines might be uncovered. To fix this I used "v8-coverage" that takes care of merging the ranges properly. With this change, coverage collected from a file by multiple entrypoints is now correctly calculated. I ended up forking https://github.com/demurgos/v8-coverage and adding "cli/tools/coverage/merge.rs" and "cli/tools/coverage/range_tree.rs".
8 lines
107 B
JavaScript
8 lines
107 B
JavaScript
import { test } from "./mod.js";
|
|
|
|
Deno.test({
|
|
name: "bugrepo b",
|
|
fn: () => {
|
|
test(false);
|
|
},
|
|
});
|