Fixed karma reporting

This commit is contained in:
Blade Barringer
2015-08-22 21:38:40 -05:00
parent 37859e51b7
commit a07d0cde85

View File

@@ -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();
}