The code in the example docs used TestBed.configureTestModule instead of TestBed.configureTestingModule. PR Close #37309