| 309 | it('does not load component when canActivate returns false', async () => { |
| 310 | const loadComponentSpy = jasmine.createSpy(); |
| 311 | @Injectable({providedIn: 'root'}) |
| 312 | class Guard { |
| 313 | canActivate() { |
| 314 | return false; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | TestBed.configureTestingModule({ |
| 319 | imports: [ |
nothing calls this directly
no test coverage detected
searching dependent graphs…