You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
475 B
17 lines
475 B
module.exports = {
|
|
restoreMocks: true,
|
|
coverageDirectory: 'jest-coverage/',
|
|
collectCoverageFrom: ['<rootDir>/ui/**/swaps/**'],
|
|
coveragePathIgnorePatterns: ['.stories.js', '.snap'],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 32.75,
|
|
functions: 42.9,
|
|
lines: 43.12,
|
|
statements: 43.67,
|
|
},
|
|
},
|
|
setupFiles: ['./test/setup.js', './test/env.js'],
|
|
setupFilesAfterEnv: ['./test/jest/setup.js'],
|
|
testMatch: ['**/ui/**/?(*.)+(test).js'],
|
|
};
|
|
|