mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
throw error when coverage is under our thresholds
This commit is contained in:
parent
bedc96e48b
commit
9191fa73df
@ -57,14 +57,13 @@ module.exports = (config) => {
|
||||
coverageIstanbulReporter: {
|
||||
dir: jsCoveragePath,
|
||||
reports: ['lcov', 'text-summary'],
|
||||
fixWebpackSourcePaths: true,
|
||||
thresholds: {
|
||||
emitWarning: true,
|
||||
emitWarning: false,
|
||||
global: {
|
||||
statements: 80,
|
||||
lines: 80,
|
||||
branches: 80,
|
||||
functions: 80
|
||||
statements: 89,
|
||||
lines: 89,
|
||||
branches: 83,
|
||||
functions: 84
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user