Skip to content

Commit

Permalink
Integrate a better CLI utility for generating code coverage reports. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil Maj authored Mar 1, 2023
1 parent 31fc05b commit 19f8a71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.coverage
.DS_Store
.DS_Store
lcov.info
4 changes: 2 additions & 2 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
}
},
"tasks": {
"test": "deno fmt --check && deno lint && deno test --allow-read --allow-net",
"coverage": "deno test --allow-read --allow-net --coverage=.coverage && deno coverage --exclude=fixtures --exclude=test .coverage"
"test": "deno fmt --check && deno lint && deno test --allow-read --allow-net src",
"coverage": "deno test --allow-read --allow-net --coverage=.coverage src && deno coverage --exclude=fixtures --exclude=test --lcov --output=lcov.info .coverage && deno run --allow-read https://deno.land/x/[email protected]/cli.ts"
},
"lock": false
}

0 comments on commit 19f8a71

Please sign in to comment.