0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/jest/config.js

15 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,
},
},
};