From a07d0cde850c7ab3a4086433a7bd735fa50afa78 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Sat, 22 Aug 2015 21:38:40 -0500 Subject: [PATCH] Fixed karma reporting --- tasks/gulp-tests.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/gulp-tests.js b/tasks/gulp-tests.js index df21ab82d2..65621bb70e 100644 --- a/tasks/gulp-tests.js +++ b/tasks/gulp-tests.js @@ -167,9 +167,9 @@ gulp.task('test:karma:safe', ['test:prepare:build'], (cb) => { (err, stdout) => { testResults.push({ suite: 'Karma Specs\t', - pass: testCount(stdout, /(\d+) tests completed/), - fail: testCount(stdout, /(\d+) tests failed/), - pend: testCount(stdout, /(\d+) tests skipped/) + pass: testCount(stdout, /(\d+) tests? completed/), + fail: testCount(stdout, /(\d+) tests? failed/), + pend: testCount(stdout, /(\d+) tests? skipped/) }); cb(); }