(req: HttpRequest<any>)
| 58 | let fetchSpy: jasmine.Spy<typeof fetch>; |
| 59 | |
| 60 | function callFetchAndFlush(req: HttpRequest<any>): void { |
| 61 | backend.handle(req).pipe(take(1)).subscribe(); |
| 62 | fetchMock.mockFlush(HttpStatusCode.Ok, 'OK', 'some response'); |
| 63 | } |
| 64 | |
| 65 | beforeEach(() => { |
| 66 | TestBed.configureTestingModule({ |
no test coverage detected
searching dependent graphs…