Added coverage threshold to jest configuration. (#7948)
This commit is contained in:
parent
d15290420f
commit
7f8bb406c5
1 changed files with 8 additions and 0 deletions
|
|
@ -11,6 +11,14 @@ module.exports = {
|
|||
'!**/__tests__/**',
|
||||
'!**/__stories__/**',
|
||||
],
|
||||
coverageThreshold: {
|
||||
global: {
|
||||
statements: 39,
|
||||
branches: 35,
|
||||
functions: 34,
|
||||
lines: 39,
|
||||
},
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'\\.(svg|png)$': '<rootDir>/empty-module.js',
|
||||
'^@crayons(.*)$': '<rootDir>/app/javascript/crayons$1',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue