Skip to content

Commit 500ca54

Browse files
laumairhansl
authored andcommitted
docs(@angular/cli): update onPrepare method in rc-update story
protractor.conf.js highlights to use two different styles of function decalaration in the rc-update docs. To make it consistent with the beforeLaunch function, update the onPrepare method to use the same function declaration style. no breaking changes
1 parent 36b8c9b commit 500ca54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/documentation/stories/rc-update.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ beforeLaunch: function() {
438438

439439
Update `onPrepare`:
440440
```
441-
onPrepare() {
441+
onPrepare: function() {
442442
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
443443
}
444444
```

0 commit comments

Comments
 (0)