()
| 2493 | ); |
| 2494 | const guard2: CanActivateFn = () => of(true).pipe(tap(() => guardDone.push('guard2'))); |
| 2495 | const guard3: CanActivateFn = () => |
| 2496 | of(true).pipe( |
| 2497 | switchMap((v) => new Promise((r) => setTimeout(r, 2)).then(() => v)), |
| 2498 | tap(() => guardDone.push('guard3')), |
| 2499 | ); |
| 2500 | const guard4: CanActivateFn = () => |
| 2501 | of(true).pipe( |
| 2502 | switchMap((v) => new Promise((r) => setTimeout(r, 6)).then(() => v)), |
nothing calls this directly
no test coverage detected