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:
parent
4456e7e4de
commit
78ea2527a1
@ -155,7 +155,7 @@ export function setupTestingRouter(
|
||||
*
|
||||
* ```
|
||||
* beforeEach(() => {
|
||||
* TestBed.configureTestModule({
|
||||
* TestBed.configureTestingModule({
|
||||
* imports: [
|
||||
* RouterTestingModule.withRoutes(
|
||||
* [{path: '', component: BlankCmp}, {path: 'simple', component: SimpleCmp}]
|
||||
|
Loading…
x
Reference in New Issue
Block a user