mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
Fixed karma reporting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user