Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
fix unittest script on saucelabs
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdhk committed Jul 14, 2016
1 parent b6df130 commit c7d1574
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,14 @@ gulp.task('test:e2e', function (done) {
})
})

gulp.task('test:unit:sauce', function (done) {
runSequence('build', 'test:e2e:serve', 'test:e2e:launchsauceconnect', 'test', function () {
console.log('All tasks completed.')
done()
process.exit(0)
})
})

gulp.task('watch:e2e', ['e2e-serve', 'selenium-start'], function (done) {
gulp.watch(['e2e_test/**'], function () {
runSequence('test:e2e')
Expand Down
2 changes: 1 addition & 1 deletion scripts/sauce_unit_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ export SAUCE_ACCESS_KEY=de42e589-1450-41a2-8a44-90aa00c15168

echo $MODE

gulp test
gulp test:unit:sauce

0 comments on commit c7d1574

Please sign in to comment.