()
| 239 | ) => { |
| 240 | const isStableSub = new Subject<boolean>(); |
| 241 | const whenStable = () => |
| 242 | new Promise<void>((resolve) => |
| 243 | isStableSub.pipe(filter(Boolean), take(1)).subscribe(() => resolve()), |
| 244 | ); |
| 245 | |
| 246 | if (apiFnName === provideServiceWorkerApi) { |
| 247 | TestBed.configureTestingModule({ |