mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Merge branch 'develop' into api-v3
This commit is contained in:
@@ -454,6 +454,11 @@ gulp.task('test', ['test:all'], () => {
|
||||
`\x1b[31mFailed: ${s.fail},\t`,
|
||||
`\x1b[36mPending: ${s.pend}\t`
|
||||
);
|
||||
|
||||
if (s.pass === 0) {
|
||||
console.error('ERROR: Detected a test suite with 0 passing tests. Something may be wrong causing the build to error.');
|
||||
process.exit(1);
|
||||
}
|
||||
});
|
||||
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user