Skip to content

Commit

Permalink
fix(@angular/cli): allow e2e multi capabilities
Browse files Browse the repository at this point in the history
Thanks to @raymondkarstensen for this solution.

Fix #975
  • Loading branch information
filipesilva authored and sumitarora committed May 15, 2017
1 parent 88e6e93 commit 4f48be0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/@angular/cli/blueprints/ng/files/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ exports.config = {
defaultTimeoutInterval: 30000,
print: function() {}
},
beforeLaunch: function() {
onPrepare() {
require('ts-node').register({
project: 'e2e/tsconfig.e2e.json'
});
},
onPrepare() {
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
};

0 comments on commit 4f48be0

Please sign in to comment.