mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Merge branch 'develop' into api-v3
This commit is contained in:
@@ -406,9 +406,12 @@ gulp.task('test', ['test:all'], () => {
|
||||
`\x1b[36mPending: ${totals[2]}\t`
|
||||
);
|
||||
|
||||
if (totals[1] > 0) throw "ERROR: There are failing tests!"
|
||||
else {
|
||||
kill(server);
|
||||
kill(server);
|
||||
|
||||
if (totals[1] > 0) {
|
||||
console.error('ERROR: There are failing tests!');
|
||||
process.exit(1);
|
||||
} else {
|
||||
console.log('\n\x1b[36mThanks for helping keep Habitica clean!\x1b[0m');
|
||||
process.exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user