unit-tests
Version:
A single command to install libs and setup scripts used in unit testing
19 lines (18 loc) • 340 B
text/typescript
export default {
cache: true,
clearMocks: true,
collectCoverage: true,
coverageDirectory: 'coverage',
maxWorkers: 1,
preset: 'ts-jest',
resolver: 'ts-jest-resolver',
slowTestThreshold: 1,
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
};