Skip to content

Commit 6b16f67

Browse files
committed
add lint to all test tasks
1 parent 9e6487d commit 6b16f67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gulpfile.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ gulp.task('selenium', function(done) {
111111
});
112112
});
113113

114-
gulp.task('test', ['serve', 'selenium'], function(done) {
114+
gulp.task('test', ['lint', 'serve', 'selenium'], function(done) {
115115
var error;
116116
console.log('Starting webdriver...');
117117

@@ -134,7 +134,7 @@ gulp.task('test', ['serve', 'selenium'], function(done) {
134134
.on('finish', finish);
135135
});
136136

137-
gulp.task('test:cloud', ['serve'], function(done) {
137+
gulp.task('test:cloud', ['lint', 'serve'], function(done) {
138138
gulp.src('test/conf/cloud.conf.js')
139139
.pipe(browserStack.startTunnel({
140140
key: privateConfig.key,
@@ -157,7 +157,7 @@ gulp.task('test:cloud', ['serve'], function(done) {
157157
});
158158
});
159159

160-
gulp.task('test:cloud:all', function(done) {
160+
gulp.task('test:cloud:all', ['lint', 'serve'], function(done) {
161161
return gulp
162162
.src('test/conf/cloud-all.conf.js')
163163
.pipe(browserStack.startTunnel({

0 commit comments

Comments
 (0)