angular.io
angular.io copied to clipboard
docs(guide/testing): typo in "Final setup and tests"
The first sentence in the blockquote says:
The second parameter to the Jasmine it (e.g., 'expected name') is an optional addendum.. It should be:
The second parameter to the Jasmine *expect* (e.g., 'expected name') is an optional addendum.
Found this too while reading the documentation. It's the second argument of the matcher; not it or expect.
Affected line
https://github.com/angular/angular.io/blob/master/public/docs/ts/latest/guide/testing.jade#L753
Link to issue in new repository: https://github.com/angular/angular/issues/16059