refactor: Organize protractor setup

This commit is contained in:
Blade Barringer
2016-03-13 16:41:17 -05:00
parent 0b65292e4b
commit 17d2efb822
5 changed files with 24 additions and 29 deletions

View File

@@ -269,9 +269,6 @@ gulp.task('test:e2e', ['test:prepare', 'test:prepare:server'], (cb) => {
let runner = exec(
'npm run test:e2e',
(err, stdout, stderr) => {
/*
* Note: As it stands, protractor wont report pending specs
*/
support.forEach(kill);
cb(err);
}
@@ -293,9 +290,6 @@ gulp.task('test:e2e:safe', ['test:prepare', 'test:prepare:server'], (cb) => {
let runner = exec(
'npm run test:e2e',
(err, stdout, stderr) => {
/*
* Note: As it stands, protractor wont report pending specs
*/
let match = stdout.match(/(\d+) tests?.*(\d) failures?/);
testResults.push({