angular/angular.io

docs(guide/testing): typo in "Final setup and tests"

yngvebn opened this issue · 2 comments

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: angular/angular#16059