refactor(router): fix several typos in router spec (#40626)

Fix a couple typos in router tests.

PR Close #40626
This commit is contained in:
JiaLiPassion
2021-01-29 16:19:31 +08:00
committed by Misko Hevery
parent ca0f6e6eed
commit 4b3106ed8a
+2 -2
View File
@@ -2740,7 +2740,7 @@ describe('Integration', () => {
})));
});
describe('should reset the location when cancleling a navigation', () => {
describe('should reset the location when cancelling a navigation', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [{
@@ -3320,7 +3320,7 @@ describe('Integration', () => {
const cmp: RouteCmp = fixture.debugElement.children[1].componentInstance;
// Land on an inital page
// Land on an initial page
router.navigateByUrl('/d/1;dd=11/e/2;dd=22');
advance(fixture);