2018-06-17 16:00:36 +02:00
|
|
|
/* eslint comma-dangle: 0 */
|
|
|
|
|
|
|
|
module.exports = {
|
2018-06-24 10:11:52 +02:00
|
|
|
name: 'verdaccio-functional-jest',
|
2018-06-17 16:00:36 +02:00
|
|
|
verbose: true,
|
2019-07-16 08:40:01 +02:00
|
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
2018-06-18 22:58:09 +02:00
|
|
|
globalSetup: './functional/pre-setup.js',
|
|
|
|
globalTeardown: './functional/teardown.js',
|
|
|
|
testEnvironment: './functional/test-environment.js',
|
2018-06-27 08:52:52 +02:00
|
|
|
// Some unit tests rely on data folders that look like packages. This confuses jest-hast-map
|
|
|
|
// when it tries to scan for package.json files.
|
|
|
|
modulePathIgnorePatterns: [
|
|
|
|
'<rootDir>/unit/partials/mock-store/.*/package.json',
|
|
|
|
'<rootDir>/functional/store/.*/package.json',
|
|
|
|
'<rootDir>/unit/partials/store/.*/package.json',
|
|
|
|
'<rootDir>/../coverage',
|
|
|
|
'<rootDir>/../docs',
|
|
|
|
'<rootDir>/../debug',
|
|
|
|
'<rootDir>/../scripts',
|
|
|
|
'<rootDir>/../.circleci',
|
|
|
|
'<rootDir>/../tools',
|
|
|
|
'<rootDir>/../wiki',
|
|
|
|
'<rootDir>/../systemd',
|
|
|
|
'<rootDir>/../flow-typed',
|
|
|
|
'<rootDir>unit/partials/mock-store/.*/package.json',
|
|
|
|
'<rootDir>functional/store/.*/package.json',
|
|
|
|
'<rootDir>/../build',
|
|
|
|
'<rootDir>/../.vscode/',
|
|
|
|
],
|
2018-06-17 16:10:09 +02:00
|
|
|
collectCoverage: false
|
2018-06-17 16:00:36 +02:00
|
|
|
};
|