1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00
Files
server/api/jest.config.js

16 lines
415 B
JavaScript

module.exports = {
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'node',
// FIXME: improve test coverage and uncomment below lines
// coverageThreshold: {
// global: {
// branches: 80,
// functions: 80,
// lines: 80,
// statements: -10
// }
// },
collectCoverageFrom: ['src/**/{!(index),}.ts'],
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/build/']
}