From 5fcee9e5981749f6ca8f5bf59200e67e47f404bc Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Mon, 16 Jan 2017 09:52:01 -0200 Subject: [PATCH] :green_heart: Change code coverage threshold in gulpfile --- gulpfile.babel.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index b2758b0a..7b74ae0e 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -78,7 +78,12 @@ gulp.task('test', ['pre-test'], () => { .pipe(istanbul.writeReports()) .pipe(istanbul.enforceThresholds({ thresholds: { - global: 80 + global: { + statements: 80, + branches: 75, + lines: 80, + functions: 80 + } } })) .on('error', () => { -- GitLab