Skip to content

Commit

Permalink
split out generating lcov file vs showing coverage in the terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj committed May 8, 2024
1 parent 64a3365 commit 3f5c1fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
},
"tasks": {
"test": "deno fmt --check && deno lint && deno test --allow-read --allow-net --allow-write --allow-run --allow-env src",
"coverage": "rm -rf .coverage && deno test --reporter=dot --allow-read --allow-net --allow-write --allow-run --allow-env --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"
"generate-lcov": "rm -rf .coverage && deno test --reporter=dot --allow-read --allow-net --allow-write --allow-run --allow-env --coverage=.coverage src && deno coverage --exclude=fixtures --exclude=test --lcov --output=lcov.info .coverage",
"test:coverage":"deno task generate-lcov && deno coverage --exclude=fixtures --exclude=test .coverage"
},
"lock": false
}

0 comments on commit 3f5c1fb

Please sign in to comment.