1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/cli/tests/testdata/coverage
Bartek Iwańczuk 13751d9de6
fix(coverage): merge coverage ranges (#13334)
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".
2022-01-11 21:17:25 +01:00
..
multifile fix(coverage): merge coverage ranges (#13334) 2022-01-11 21:17:25 +01:00
branch.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
branch_expected.lcov fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
branch_expected.out fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
branch_test.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
complex.ts Revert "fix(cli): ensure empty lines don't count towards coverage (#11957)" (#12348) 2021-10-06 19:28:28 +02:00
complex_expected.lcov fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
complex_expected.out fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
complex_test.ts chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
final_blankline.js fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
final_blankline_expected.lcov fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
final_blankline_expected.out fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00
final_blankline_test.js fix(coverage): use only string byte indexes and 0-indexed line numbers (#13190) 2021-12-23 20:02:54 -05:00