Skip to content

Instantly share code, notes, and snippets.

@jasonswett
Created November 26, 2014 22:05
Show Gist options
  • Save jasonswett/b2371a0b39b882e52b0e to your computer and use it in GitHub Desktop.
Save jasonswett/b2371a0b39b882e52b0e to your computer and use it in GitHub Desktop.
gulp.task('start-server', function() {
return server.listen(3000);
});
gulp.task('jasmine', function() {
return gulp.src('spec/test.js')
.pipe(jasmine());
});
gulp.task('test', ['start-server', 'jasmine'], function() {
server.close();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment