Skip to content

Commit

Permalink
fix(web): update test:unit script coverage flag
Browse files Browse the repository at this point in the history
The `--coverage` flag in the `test:unit` script was updated to
`--coverage.enabled` for compatibility with the latest Vitest version
. This ensures proper handling of coverage reporting.
  • Loading branch information
suddenlyGiovanni committed Dec 13, 2024
1 parent c97576a commit 820909d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"lint": "biome ci --vcs-enabled=true --vcs-use-ignore-file=true --vcs-root='../../' --formatter-enabled=false --linter-enabled=true --organize-imports-enabled=false --no-errors-on-unmatched .",
"start": "react-router-serve ./build/server/index.js",
"test": "vitest",
"test:unit": "vitest run --coverage",
"test:unit": "vitest run --coverage.enabled",
"typecheck": "react-router typegen && tsc"
},
"sideEffects": false,
Expand Down

0 comments on commit 820909d

Please sign in to comment.