mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
21 lines
431 B
JavaScript
21 lines
431 B
JavaScript
module.exports = {
|
|
verbose: true,
|
|
preset: 'ts-jest',
|
|
collectCoverage: true,
|
|
collectCoverageFrom: [
|
|
'**/*.ts',
|
|
'!**/node_modules/**',
|
|
'!**/test/**',
|
|
'!**/build/**',
|
|
'!**/src/**/?(*.)+(spec|test).ts?(x)',
|
|
'!**/src/db/**'
|
|
],
|
|
coverageThreshold: {
|
|
global: {
|
|
lines: 90,
|
|
},
|
|
},
|
|
testMatch: ['**/src/**/?(*.)+(spec|test).ts?(x)'],
|
|
setupFilesAfterEnv: ['<rootDir>/test/setup.ts']
|
|
}
|