(delayMs: number)
| 1887 | |
| 1888 | describe('should run CanLoad guards concurrently', () => { |
| 1889 | function delayObservable(delayMs: number): Observable<boolean> { |
| 1890 | return of(delayMs).pipe( |
| 1891 | switchMap((v) => new Promise((r) => setTimeout(r, delayMs)).then(() => v)), |
| 1892 | mapTo(true), |
| 1893 | ); |
| 1894 | } |
| 1895 | |
| 1896 | let log: string[]; |
| 1897 | const guard1 = () => { |
no test coverage detected