mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
31 lines
822 B
JavaScript
31 lines
822 B
JavaScript
/* eslint comma-dangle: 0 */
|
|
|
|
module.exports = {
|
|
'name': 'verdaccio-jest',
|
|
'verbose': true,
|
|
'collectCoverage': true,
|
|
'coveragePathIgnorePatterns': [
|
|
'node_modules',
|
|
'fixtures'
|
|
],
|
|
'testRegex': '(/test/unit.*\\.spec|test/functional.*\\.func|/test/webui/.*\\.spec)\\.js',
|
|
// 'testRegex': '(test/functional.*\\.func)\\.js'
|
|
'setupFiles': [
|
|
'./test/webui/global.js'
|
|
],
|
|
'modulePathIgnorePatterns': [
|
|
'global.js'
|
|
],
|
|
'testPathIgnorePatterns': [
|
|
'__snapshots__'
|
|
],
|
|
'moduleNameMapper': {
|
|
'\\.(scss)$': '<rootDir>/node_modules/identity-obj-proxy',
|
|
'github-markdown-css': '<rootDir>/node_modules/identity-obj-proxy',
|
|
'\\.(png)$': '<rootDir>/node_modules/identity-obj-proxy'
|
|
},
|
|
'transformIgnorePatterns': [
|
|
'<rootDir>/node_modules/(?!react-syntax-highlighter)'
|
|
]
|
|
};
|