Have you tried gulp-jasmine
?
gulp.task('default', function () {
gulp.src('spec/test.js').pipe(jasmine());
});
The src()
method can take a glob like 'spec/**/*.js'
and automatically run jasmine on all javascript files in the spec directory.