diff --git a/vitest.config.mjs b/vitest.config.mjs index 8b0bcff6d9..8f16741867 100644 --- a/vitest.config.mjs +++ b/vitest.config.mjs @@ -8,13 +8,13 @@ export default defineConfig({ coverage: { include: ["src/schemas/validation/**/*.yaml"], thresholds: process.env.BASE !== "dev" ? { - statements: 99.42, // should be 100% but we are missing some tests - lines: 99.42, // should be 100% but we are missing some tests - functions: 92.58, // should be 100% but we are missing some tests - // branches: 56.77, // need to discuss whether we should check/increase this + statements: 100, // JSON Schema keywords + lines: 100, + // functions: 100, // subschemas, for example with `properties` - to be discussed + // branches: 56.77, // branch coverage isn't that useful } : {} }, forceRerunTriggers: ['**/scripts/**', '**/tests/**'], - testTimeout: 10000, // 10 seconds + testTimeout: 20000, // 20 seconds, sometimes needed on slower machines }, })