From 5bdeca3db8a196d4ef48e4ccf00b6259644e0822 Mon Sep 17 00:00:00 2001
From: Vytor Calixto <vytorcalixto@gmail.com>
Date: Thu, 8 Dec 2016 10:24:19 -0200
Subject: [PATCH] :green_heart: Change coverage threshold for branches

Statements, functions and lines threshold at 80% global
Branches at 75% global
---
 gulpfile.babel.js | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index e67a5244..2ff461ff 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -79,7 +79,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