Make vitest logs silent for passed test runs

This commit is contained in:
Kalle
2025-03-31 22:33:54 +03:00
parent ded08e0565
commit 38eb0c310d

View File

@@ -19,7 +19,7 @@
"biome:fix": "npx @biomejs/biome check --write .",
"biome:fix:unsafe": "npx @biomejs/biome check --write --unsafe .",
"typecheck": "tsc --noEmit",
"test:unit": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 vitest run",
"test:unit": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 vitest --silent=passed-only run",
"test:e2e": "npx playwright test",
"checks": "npm run biome:fix && npm run test:unit && npm run check-translation-jsons && npm run typecheck"
},