Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions vitest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
})