Skip to content

Commit 488b690

Browse files
authored
Merge pull request #42 from Clarifai/multiple-stream-for-gulp-test
run integration and unit tests separately
2 parents 1a1cfc4 + 8f53dac commit 488b690

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gulpfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ function failOnError() {
117117
}));
118118
}
119119

120-
gulp.task('test', function() {
121-
return gulp.src('./tests/*/*.js')
120+
gulp.task('integrationtest', function() {
121+
return gulp.src('./tests/integration/*.js')
122122
.pipe(jasmine({
123123
'includeStackTrace': false,
124124
'verbose': true,
@@ -146,6 +146,8 @@ gulp.task('unittest', (done, error) => {
146146
}));
147147
});
148148

149+
gulp.task('test', gulp.series('integrationtest', 'unittest'));
150+
149151
gulp.task('jslint', function() {
150152
const buildVars = getBuildVars();
151153
if (buildVars.lintFailOnError === true) {

0 commit comments

Comments
 (0)