mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
18 lines
475 B
JavaScript
18 lines
475 B
JavaScript
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'],
|
|
};
|