forked from ctucker/angular-snc-training
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgulpfile.js
More file actions
25 lines (21 loc) · 684 Bytes
/
gulpfile.js
File metadata and controls
25 lines (21 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
var gulp = require('gulp');
var karma = require('gulp-karma');
var gulpProtractor = require("gulp-protractor");
var protractor = gulpProtractor.protractor;
var webdriver_standalone = gulpProtractor.webdriver_standalone;
var webdriver_update = gulpProtractor.webdriver_update;
gulp.task('webdriver-standalone', webdriver_standalone);
gulp.task('webdriver-update', webdriver_update);
gulp.task('protractor', function() {
return gulp.src(["./src/test/plugins/*/e2e/**/*.js"])
.pipe(protractor({
configFile: "./protractor.conf.js"
}))
.on('error', function(e) {
throw e
});
});
gulp.task('test', function() {
return gulp.src()
});
gulp.task('default', ['protractor']);