Last active
August 29, 2015 14:10
-
-
Save dflynn15/d3c66e4ceac9b8ff826e to your computer and use it in GitHub Desktop.
Asynchronous example of gulp-jasmine-phantom
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 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