Merge branch 'develop' into api-v3

This commit is contained in:
Blade Barringer
2016-03-03 21:24:54 -06:00

View File

@@ -454,6 +454,11 @@ gulp.task('test', ['test:all'], () => {
`\x1b[31mFailed: ${s.fail},\t`, `\x1b[31mFailed: ${s.fail},\t`,
`\x1b[36mPending: ${s.pend}\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( console.log(