(options: {includeRequestsWithAuthHeaders?: boolean} = {})
| 81 | }); |
| 82 | |
| 83 | function configureInterceptor(options: {includeRequestsWithAuthHeaders?: boolean} = {}): void { |
| 84 | TestBed.resetTestingModule(); |
| 85 | TestBed.configureTestingModule({ |
| 86 | providers: [ |
| 87 | TransferState, |
| 88 | { |
| 89 | provide: CACHE_OPTIONS, |
| 90 | useValue: { |
| 91 | isCacheActive: true, |
| 92 | ...options, |
| 93 | }, |
| 94 | }, |
| 95 | ], |
| 96 | }); |
| 97 | } |
| 98 | |
| 99 | function runOnServer<T>(callback: () => T): T { |
| 100 | const previousServerMode = globalThis['ngServerMode']; |
no test coverage detected
searching dependent graphs…