Skip to content

Commit 8a7f6dd

Browse files
filipesilvasumitarora
authored andcommitted
fix(@angular/cli): allow e2e multi capabilities
Thanks to @raymondkarstensen for this solution. Fix #975
1 parent 9d19985 commit 8a7f6dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/@angular/cli/blueprints/ng/files/protractor.conf.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ exports.config = {
1919
defaultTimeoutInterval: 30000,
2020
print: function() {}
2121
},
22-
beforeLaunch: function() {
22+
onPrepare() {
2323
require('ts-node').register({
2424
project: 'e2e/tsconfig.e2e.json'
2525
});
26-
},
27-
onPrepare() {
2826
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
2927
}
3028
};

0 commit comments

Comments
 (0)