Commit 9191fa73 authored by Johann-S's avatar Johann-S
Browse files

throw error when coverage is under our thresholds

parent bedc96e4
Showing with 5 additions and 6 deletions
+5 -6
...@@ -57,14 +57,13 @@ module.exports = (config) => { ...@@ -57,14 +57,13 @@ module.exports = (config) => {
coverageIstanbulReporter: { coverageIstanbulReporter: {
dir: jsCoveragePath, dir: jsCoveragePath,
reports: ['lcov', 'text-summary'], reports: ['lcov', 'text-summary'],
fixWebpackSourcePaths: true,
thresholds: { thresholds: {
emitWarning: true, emitWarning: false,
global: { global: {
statements: 80, statements: 89,
lines: 80, lines: 89,
branches: 80, branches: 83,
functions: 80 functions: 84
} }
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment