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

31 lines
1 KiB
JavaScript
Raw Normal View History

/* eslint comma-dangle: 0 */
module.exports = {
2018-06-24 03:11:52 -05:00
name: 'verdaccio-functional-jest',
verbose: true,
globalSetup: './functional/pre-setup.js',
globalTeardown: './functional/teardown.js',
testEnvironment: './functional/test-environment.js',
2018-06-27 01:52:52 -05: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/',
],
collectCoverage: false
};