Add jest coverage (#10868)
* 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`. * Lintfeature/default_network_editable
parent
2c47ace438
commit
b7ee97c54c
@ -1,6 +1,14 @@ |
||||
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'], |
||||
}; |
||||
|
Loading…
Reference in new issue