mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
b7ee97c54c
* Add jest coverage This will add coverage for any tests ran in jest under the `test:coverage:jest` command, which is currently being used in CI. I set the values to the current test coverage in `ui/app/pages/swaps`. * Lint
15 lines
330 B
JavaScript
15 lines
330 B
JavaScript
module.exports = {
|
|
restoreMocks: true,
|
|
coverageDirectory: 'jest-coverage/',
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 6.3,
|
|
functions: 9.43,
|
|
lines: 8.66,
|
|
statements: 8.88,
|
|
},
|
|
},
|
|
setupFiles: ['./test/setup.js', './test/env.js'],
|
|
testMatch: ['**/ui/app/pages/swaps/**/?(*.)+(test).js'],
|
|
};
|