mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +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) => {
|
(err, stdout) => {
|
||||||
testResults.push({
|
testResults.push({
|
||||||
suite: 'Karma Specs\t',
|
suite: 'Karma Specs\t',
|
||||||
pass: testCount(stdout, /(\d+) tests completed/),
|
pass: testCount(stdout, /(\d+) tests? completed/),
|
||||||
fail: testCount(stdout, /(\d+) tests failed/),
|
fail: testCount(stdout, /(\d+) tests? failed/),
|
||||||
pend: testCount(stdout, /(\d+) tests skipped/)
|
pend: testCount(stdout, /(\d+) tests? skipped/)
|
||||||
});
|
});
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user