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