/* eslint comma-dangle: 0 */ module.exports = { name: 'verdaccio-unit-jest', verbose: true, collectCoverage: true, reporters: ["default", ["jest-junit", { outputDirectory: 'reports' }]], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], testURL: 'http://localhost', testRegex: '(test/unit.*\\.spec)\\.ts', // 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. transform: { '^.+\\.(js|jsx|ts|tsx)$': 'babel-jest' }, modulePathIgnorePatterns: [ '/test/unit/partials/mock-store/.*/package.json', '/test/functional/store/.*/package.json', '/test/unit/partials/store/.*/package.json', '/coverage', '/docs', '/debug', '/scripts', '/.circleci', '/tools', '/wiki', '/systemd', '/flow-typed', 'test/unit/partials/mock-store/.*/package.json', '/test/functional/store/.*/package.json', '/build', '/.vscode/', ], testPathIgnorePatterns: [ '__snapshots__', '/build', ], coveragePathIgnorePatterns: [ 'node_modules', 'fixtures', '/src/api/debug', '/test', ] };