mirror of
https://github.com/vee1e/workorder-desk.git
synced 2026-09-01 09:50:13 +00:00
chore(test): emit lcov coverage reports
This commit is contained in:
parent
0bbbc2aab5
commit
545a8306fb
2 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ export default defineConfig({
|
|||
hookTimeout: 60000,
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'lcov'],
|
||||
include: ['src/**/*.ts'],
|
||||
exclude: ['src/server.ts', 'src/scripts/**', 'src/types/**', 'src/config/logger.ts'],
|
||||
thresholds: {
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ export default defineConfig({
|
|||
css: false,
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'lcov'],
|
||||
// Business logic modules — the threshold applies to included files.
|
||||
include: [
|
||||
'src/lib/**/*.{ts,tsx}',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue