docs(RouterTestingModule) change modules to imports in example (#12118)
This commit is contained in:
parent
de1f44f51f
commit
0b7dc2f9ff
|
@ -81,7 +81,7 @@ export function setupTestingRouter(
|
||||||
* ```
|
* ```
|
||||||
* beforeEach(() => {
|
* beforeEach(() => {
|
||||||
* TestBed.configureTestModule({
|
* TestBed.configureTestModule({
|
||||||
* modules: [
|
* imports: [
|
||||||
* RouterTestingModule.withRoutes(
|
* RouterTestingModule.withRoutes(
|
||||||
* [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}])]
|
* [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}])]
|
||||||
* )
|
* )
|
||||||
|
|
Loading…
Reference in New Issue