Created
January 6, 2014 00:56
-
-
Save pid/8276391 to your computer and use it in GitHub Desktop.
example gulp-mocha
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mocha = require('gulp-mocha'); | |
gulp.task('tests', function() { | |
gulp.src(['test/test-*.js'], { | |
read: false | |
}) | |
.pipe(mocha({ | |
reporter: 'spec', | |
globals: { | |
should: require('should') | |
} | |
})); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment