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

17 lines
424 B
JavaScript
Raw Permalink Normal View History

2020-03-04 22:36:43 +01:00
module.exports = {
2020-03-15 18:02:40 +01:00
moduleFileExtensions: ['ts', 'js'],
2020-03-04 22:36:43 +01:00
transform: {
2020-03-15 18:02:40 +01:00
'^.+\\.(js|ts)$': 'babel-jest',
2020-03-04 22:36:43 +01:00
},
2020-03-15 18:02:40 +01:00
verbose: false,
2020-03-04 22:36:43 +01:00
collectCoverage: true,
coverageReporters: ['text', 'html'],
2020-08-13 23:36:23 +02:00
collectCoverageFrom: ['src/**/*.ts', '!**/node_modules/**', '!**/partials/**', '!**/fixture/**'],
2020-03-04 22:36:43 +01:00
coveragePathIgnorePatterns: ['node_modules', 'fixtures'],
coverageThreshold: {
global: {
lines: 85,
},
},
2020-03-04 22:36:43 +01:00
};