mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
exclude all db files from coverage, raise coverage to 90%
This commit is contained in:
parent
ed5149c41e
commit
07ddd882e1
@ -8,11 +8,11 @@ module.exports = {
|
|||||||
'!**/test/**',
|
'!**/test/**',
|
||||||
'!**/build/**',
|
'!**/build/**',
|
||||||
'!**/src/**/?(*.)+(spec|test).ts?(x)',
|
'!**/src/**/?(*.)+(spec|test).ts?(x)',
|
||||||
'!**/src/db/migrations/**'
|
'!**/src/db/**'
|
||||||
],
|
],
|
||||||
coverageThreshold: {
|
coverageThreshold: {
|
||||||
global: {
|
global: {
|
||||||
lines: 72,
|
lines: 90,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
testMatch: ['**/src/**/?(*.)+(spec|test).ts?(x)'],
|
testMatch: ['**/src/**/?(*.)+(spec|test).ts?(x)'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user