Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

Enable test coverage thresholds with retry and verbose timing

morluto29a2f5d03272
diff --git a/vitest.config.ts b/vitest.config.ts
index 3818ed091..90c93393d 100644
--- a/vitest.config.ts
+++ b/vitest.config.ts
@@ -2,7 +2,20 @@ import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
- coverage: { enabled: false },
include: ["tests/**/*.test.ts"],
+ retry: 2,
+ reporters: ["default", "verbose"],
+ coverage: {
+ enabled: true,
+ provider: "v8",
+ include: ["src/**"],
+ thresholds: {
+ statements: 65,
+ branches: 60,
+ functions: 60,
+ lines: 68,
+ },
+ reporter: ["text", "text-summary"],
+ },
},
});