Skip to content

Commit

Permalink
fix(coverage): fix codegov coverage reporting of D1 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ committed Sep 25, 2024
1 parent 748c5ca commit 1a5bfa5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"test": "vitest run",
"test:types": "tsc --noEmit",
"test:bun": "bun test ./tests/bun-sqlite.test.bun",
"test:d1": "vitest --root ./tests/cloudflare/",
"test:ci": "pnpm test -- --coverage --reporter=default --reporter=junit --outputFile=./junit.xml && pnpm test:bun && pnpm test:d1",
"test:ci": "pnpm test -- --coverage --reporter=default --reporter=junit --outputFile=./junit.xml && pnpm test:bun",
"lint": "biome lint",
"format": "biome format --write",
"release": "npm run test:types && npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags"
Expand Down
6 changes: 6 additions & 0 deletions vitest.workspace.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineWorkspace } from 'vitest/config'

export default defineWorkspace([
"./tests/cloudflare",
"./"
])

0 comments on commit 1a5bfa5

Please sign in to comment.