Full tests coverage
This commit is contained in:
parent
99134d8556
commit
02d782c3da
157 changed files with 1074 additions and 34670 deletions
|
|
@ -27,19 +27,18 @@ export default defineConfig({
|
|||
'src/test-utils.tsx',
|
||||
'src/app/layout.tsx',
|
||||
'src/app/api/**',
|
||||
'src/lib/auth.ts',
|
||||
'src/proxy.ts',
|
||||
'src/**/*.d.ts',
|
||||
'src/app/(dashboard)/layout.tsx',
|
||||
'src/app/login/**',
|
||||
'src/components/ui/index.ts',
|
||||
],
|
||||
reporter: ['text', 'lcov', 'json-summary', 'html'],
|
||||
reportsDirectory: './coverage',
|
||||
thresholds: {
|
||||
lines: 90,
|
||||
functions: 85,
|
||||
branches: 75,
|
||||
statements: 85,
|
||||
lines: 100,
|
||||
functions: 100,
|
||||
branches: 100,
|
||||
statements: 100,
|
||||
},
|
||||
},
|
||||
testTimeout: 10_000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue