docs(router): fix a typo in example code (#37309)
The code in the example docs used TestBed.configureTestModule instead of TestBed.configureTestingModule. PR Close #37309
This commit is contained in:

committed by
Matias Niemelä

parent
ba0faa2f77
commit
a4f7740332
@ -155,7 +155,7 @@ export function setupTestingRouter(
|
|||||||
*
|
*
|
||||||
* ```
|
* ```
|
||||||
* beforeEach(() => {
|
* beforeEach(() => {
|
||||||
* TestBed.configureTestModule({
|
* TestBed.configureTestingModule({
|
||||||
* imports: [
|
* imports: [
|
||||||
* RouterTestingModule.withRoutes(
|
* RouterTestingModule.withRoutes(
|
||||||
* [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}]
|
* [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}]
|
||||||
|
Reference in New Issue
Block a user