docs(router): minor typo (#18226)
Fix a minor typo in the description of a router spec.
This commit is contained in:
parent
410f21c75c
commit
c67bad4f43
@ -36,7 +36,7 @@ describe('Router', () => {
|
|||||||
describe('setUpLocationChangeListener', () => {
|
describe('setUpLocationChangeListener', () => {
|
||||||
beforeEach(() => { TestBed.configureTestingModule({imports: [RouterTestingModule]}); });
|
beforeEach(() => { TestBed.configureTestingModule({imports: [RouterTestingModule]}); });
|
||||||
|
|
||||||
it('should be indempotent', inject([Router, Location], (r: Router, location: Location) => {
|
it('should be idempotent', inject([Router, Location], (r: Router, location: Location) => {
|
||||||
r.setUpLocationChangeListener();
|
r.setUpLocationChangeListener();
|
||||||
const a = (<any>r).locationSubscription;
|
const a = (<any>r).locationSubscription;
|
||||||
r.setUpLocationChangeListener();
|
r.setUpLocationChangeListener();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user