1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/jest/config.js

16 lines
385 B
JavaScript

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