From da1c9ba2dd7f8d6b8b76e3ada70ae04e6eda10f6 Mon Sep 17 00:00:00 2001 From: rameshthoomu Date: Mon, 13 Feb 2017 17:10:08 +0000 Subject: [PATCH] Add Cobertura reports in gulp task Change-Id: I5b191bca1a173a35a1d86679ad657f95e4d5d7c2 Signed-off-by: rameshthoomu --- build/tasks/test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/tasks/test.js b/build/tasks/test.js index e95f32da76..065b64eac6 100644 --- a/build/tasks/test.js +++ b/build/tasks/test.js @@ -42,5 +42,7 @@ gulp.task('test-headless', ['pre-test'], function() { .pipe(tape({ reporter: tapColorize() })) - .pipe(istanbul.writeReports()); + .pipe(istanbul.writeReports({ + reporters: ['cobertura'] + })); });