mirror of
https://github.com/denoland/deno.git
synced 2025-08-02 10:02:23 +00:00
fix(cli): ensure empty lines don't count towards coverage (#11957)
This commit is contained in:
parent
10c415eaaa
commit
d5b38a9929
8 changed files with 487 additions and 362 deletions
3
cli/tests/testdata/coverage/complex.ts
vendored
3
cli/tests/testdata/coverage/complex.ts
vendored
|
@ -69,3 +69,6 @@ export function ƒ(): number {
|
|||
|
||||
// This arrow function should also show up as uncovered.
|
||||
console.log("%s", () => 1);
|
||||
|
||||
// End with a newline:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue