Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
9191fa73
Commit
9191fa73
authored
7 years ago
by
Johann-S
Browse files
Options
Download
Email Patches
Plain Diff
throw error when coverage is under our thresholds
parent
bedc96e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/karma.conf.js
+5
-6
js/tests/karma.conf.js
with
5 additions
and
6 deletions
+5
-6
js/tests/karma.conf.js
+
5
-
6
View file @
9191fa73
...
@@ -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
:
tru
e
,
emitWarning
:
fals
e
,
global
:
{
global
:
{
statements
:
8
0
,
statements
:
8
9
,
lines
:
8
0
,
lines
:
8
9
,
branches
:
8
0
,
branches
:
8
3
,
functions
:
8
0
functions
:
8
4
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment