Skip to content

Commit

Permalink
wip: enable code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lishaduck committed Feb 18, 2025
1 parent ce5c709 commit 1ee89ee
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 15 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@deno/vite-plugin": "npm:@deno/vite-plugin@^1.0.4",
"@effect/vitest": "npm:@effect/vitest@^0.19.0",
"@std/assert": "jsr:@std/assert@^1.0.11",
"@vitest/coverage-v8": "npm:@vitest/coverage-v8@^3.0.6",
"@vitest/coverage-istanbul": "npm:@vitest/coverage-istanbul@^3.0.6",
"@vitest/ui": "npm:@vitest/ui@^3.0.6",
"effect": "npm:effect@^3.13.2",
"vitest": "npm:vitest@^3.0.6"
Expand Down
187 changes: 174 additions & 13 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
coverage: {
// enabled: true,
enabled: true,
// `v8` does't work. `istanbul` works, but lines are wonky. I don't trust it.
provider: "istanbul",
},
sequence: {
concurrent: true,
Expand Down

0 comments on commit 1ee89ee

Please # to comment.