Merge pull request #372 from nicolasnoble/increase-mocha-timeout

Increasing mocha timeout to 5s up from 2s.
This commit is contained in:
Nicolas Noble 2018-05-25 11:22:15 -07:00 committed by GitHub
commit e6a64a3720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ gulp.task('build', 'Build native package', () => {
}); });
gulp.task('test', 'Run all tests', ['build'], () => { gulp.task('test', 'Run all tests', ['build'], () => {
return gulp.src(`${testDir}/*.js`).pipe(mocha({reporter: 'mocha-jenkins-reporter'})); return gulp.src(`${testDir}/*.js`).pipe(mocha({timeout: 5000, reporter: 'mocha-jenkins-reporter'}));
}); });
gulp.task('doc.gen', 'Generate docs', (cb) => { gulp.task('doc.gen', 'Generate docs', (cb) => {