diff --git a/modules/@angular/router/testing/router_testing_module.ts b/modules/@angular/router/testing/router_testing_module.ts index 423caba181..5903b040d5 100644 --- a/modules/@angular/router/testing/router_testing_module.ts +++ b/modules/@angular/router/testing/router_testing_module.ts @@ -81,7 +81,7 @@ export function setupTestingRouter( * ``` * beforeEach(() => { * TestBed.configureTestModule({ - * modules: [ + * imports: [ * RouterTestingModule.withRoutes( * [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}])] * )