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

16 lines
340 B
JavaScript
Raw Normal View History

2020-03-04 16:36:43 -05:00
module.exports = {
2020-03-15 12:02:40 -05:00
moduleFileExtensions: ['ts', 'js'],
2020-03-04 16:36:43 -05:00
transform: {
2020-03-15 12:02:40 -05:00
'^.+\\.(js|ts)$': 'babel-jest',
2020-03-04 16:36:43 -05:00
},
2020-03-15 12:02:40 -05:00
verbose: false,
2020-03-04 16:36:43 -05:00
collectCoverage: true,
2020-03-15 12:02:40 -05:00
collectCoverageFrom: [
"src/**/*.ts",
"!**/node_modules/**",
"!**/partials/**",
"!**/fixture/**",
],
2020-03-04 16:36:43 -05:00
coveragePathIgnorePatterns: ['node_modules', 'fixtures'],
};