mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
31 lines
876 B
JavaScript
31 lines
876 B
JavaScript
/* eslint comma-dangle: 0 */
|
|
|
|
module.exports = {
|
|
'name': 'verdaccio-jest',
|
|
'verbose': true,
|
|
'collectCoverage': true,
|
|
'coveragePathIgnorePatterns': [
|
|
'node_modules',
|
|
'fixtures'
|
|
],
|
|
'testEnvironment': 'jest-environment-jsdom-global',
|
|
'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)'
|
|
]
|
|
};
|