mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -05: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
106 B
JavaScript
8 lines
106 B
JavaScript
import { test } from "./mod.js";
|
|
|
|
Deno.test({
|
|
name: "bugrepo a",
|
|
fn: () => {
|
|
test(true);
|
|
},
|
|
});
|