mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
test: pick up the rest
This commit is contained in:
@@ -23,6 +23,16 @@ export default defineConfig({
|
||||
reportsDirectory: './coverage',
|
||||
include: ['src/**/*.{ts,tsx}'],
|
||||
exclude: ['src/main.tsx', 'src/vite-env.d.ts'],
|
||||
// Without these the Client Tests job produced a report, uploaded it and
|
||||
// passed no matter what the number was — which is how coverage drifted
|
||||
// down to ~48% unnoticed. Set a few points below the current run so an
|
||||
// ordinary PR doesn't trip them; raise them when the number rises.
|
||||
thresholds: {
|
||||
statements: 90,
|
||||
branches: 82,
|
||||
functions: 89,
|
||||
lines: 92,
|
||||
},
|
||||
},
|
||||
css: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user