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

31 lines
822 B
JavaScript
Raw Normal View History

2017-11-01 11:47:20 -05:00
/* eslint comma-dangle: 0 */
module.exports = {
'name': 'verdaccio-jest',
'verbose': true,
'collectCoverage': true,
'coveragePathIgnorePatterns': [
'node_modules',
'fixtures'
],
2017-11-28 11:05:58 -05:00
'testRegex': '(/test/unit.*\\.spec|test/functional.*\\.func|/test/webui/.*\\.spec)\\.js',
2017-12-02 05:19:08 -05:00
// 'testRegex': '(test/functional.*\\.func)\\.js'
2017-11-28 11:05:58 -05:00
'setupFiles': [
'./test/webui/global.js'
],
'modulePathIgnorePatterns': [
'global.js'
],
'testPathIgnorePatterns': [
2017-12-19 23:10:53 -05:00
'__snapshots__'
],
2017-11-28 11:05:58 -05:00
'moduleNameMapper': {
2017-12-01 14:04:01 -05:00
'\\.(scss)$': '<rootDir>/node_modules/identity-obj-proxy',
'github-markdown-css': '<rootDir>/node_modules/identity-obj-proxy',
'\\.(png)$': '<rootDir>/node_modules/identity-obj-proxy'
2017-12-01 14:04:01 -05:00
},
'transformIgnorePatterns': [
'<rootDir>/node_modules/(?!react-syntax-highlighter)'
]
2017-11-01 11:47:20 -05:00
};