mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-08 23:25:51 +01:00
c3c62021e5
* chore: remove ui * chore: remove size step * chore: update theme plugin * chore: update lock file * Update main.workflow * chore: update js-yaml dep * chore: @verdaccio/ui-theme@0.0.4 * feat: allows theme as a plugin * chore: update package description
40 lines
1.1 KiB
JavaScript
40 lines
1.1 KiB
JavaScript
/* eslint comma-dangle: 0 */
|
|
|
|
module.exports = {
|
|
name: 'verdaccio-unit-jest',
|
|
verbose: true,
|
|
collectCoverage: true,
|
|
testURL: 'http://localhost',
|
|
testRegex: '(test/unit.*\\.spec|test/unit/webui/.*\\.spec)\\.js',
|
|
// 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>/test/unit/partials/mock-store/.*/package.json',
|
|
'<rootDir>/test/functional/store/.*/package.json',
|
|
'<rootDir>/test/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>test/unit/partials/mock-store/.*/package.json',
|
|
'<rootDir>/test/functional/store/.*/package.json',
|
|
'<rootDir>/build',
|
|
'<rootDir>/.vscode/',
|
|
],
|
|
testPathIgnorePatterns: [
|
|
'__snapshots__',
|
|
'<rootDir>/build',
|
|
],
|
|
coveragePathIgnorePatterns: [
|
|
'node_modules',
|
|
'fixtures',
|
|
'<rootDir>/src/api/debug',
|
|
'<rootDir>/test',
|
|
]
|
|
};
|