0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00
verdaccio/jest/config.js
2024-07-14 14:10:08 -04:00

18 lines
464 B
JavaScript

module.exports = {
moduleFileExtensions: ['ts', 'js'],
maxWorkers: 3,
testTimeout: 20000,
transform: {
'^.+\\.(js|ts)$': 'babel-jest',
},
verbose: false,
collectCoverage: false,
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['src/**/*.ts', '!**/node_modules/**', '!**/partials/**', '!**/fixture/**'],
coveragePathIgnorePatterns: ['node_modules', 'fixtures'],
coverageThreshold: {
global: {
lines: 85,
},
},
};