Skip to content

Commit 80d23fe

Browse files
committed
fix(test): fix task finishing before test
1 parent 7b53d5a commit 80d23fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/gulp-tasks/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path from 'path';
55
import {dirs} from './config.js';
66

77
gulp.task('test:server', () => {
8-
gulp.src(path.resolve(dirs.testServer, '**/*.test.js'))
8+
return gulp.src(path.resolve(dirs.testServer, '**/*.test.js'))
99
.pipe(mocha({
1010
compilers: 'js:babel-core/register',
1111
require: path.resolve(dirs.test, 'mocha.conf.js'),

0 commit comments

Comments
 (0)