Skip to content

Instantly share code, notes, and snippets.

@dflynn15
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dflynn15/d3c66e4ceac9b8ff826e to your computer and use it in GitHub Desktop.
Save dflynn15/d3c66e4ceac9b8ff826e to your computer and use it in GitHub Desktop.
Asynchronous example of gulp-jasmine-phantom
var gulp = require('gulp');
var jasmine = require('gulp-jasmine-phantom');
gulp.task('unitTests', function () {
return gulp.src('spec/test.js')
.pipe(jasmine());
});
gulp.task('integrationTests', function() {
return gulp.src('spec/test.js')
.pipe(jasmine({
integration: true
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment