mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
21 lines
534 B
JavaScript
21 lines
534 B
JavaScript
module.exports = {
|
|
restoreMocks: true,
|
|
coverageDirectory: 'jest-coverage/',
|
|
collectCoverageFrom: ['<rootDir>/ui/**/swaps/**'],
|
|
coveragePathIgnorePatterns: ['.stories.js', '.snap'],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 45.24,
|
|
functions: 51.94,
|
|
lines: 58.36,
|
|
statements: 58.6,
|
|
},
|
|
},
|
|
setupFiles: ['./test/setup.js', './test/env.js'],
|
|
setupFilesAfterEnv: ['./test/jest/setup.js'],
|
|
testMatch: [
|
|
'<rootDir>/ui/**/?(*.)+(test).js',
|
|
'<rootDir>/shared/**/?(*.)+(test).js',
|
|
],
|
|
};
|