fix: add text reporter to vitest so coverage script can parse frontend coverage

The coverage script parses "All files" from vitest text table output, but
vitest was only configured with json-summary reporter. This caused frontend
coverage to show as 0%, pulling overall coverage below threshold.

Frontend line coverage is 68.4%, making overall coverage 66.4% vs 64.60% threshold.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave
2026-02-23 21:11:51 +00:00
parent a18d4350ae
commit 4740a24032
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ export default defineConfig({
exclude: ["tests/e2e/**", "node_modules/**"],
coverage: {
provider: "v8",
reporter: ["json-summary"],
reporter: ["text", "json-summary"],
reportsDirectory: "./coverage",
},
},