(time: number, errorMap: {[key: string]: any})
| 599 | |
| 600 | it('should wait for all validators before setting errors', async () => { |
| 601 | function getTimerObs(time: number, errorMap: {[key: string]: any}): AsyncValidatorFn { |
| 602 | return (c: AbstractControl) => { |
| 603 | return timer(time).pipe(map(() => errorMap)); |
| 604 | }; |
| 605 | } |
| 606 | |
| 607 | const v = Validators.composeAsync([ |
| 608 | getTimerObs(100, {one: true}), |
no test coverage detected
searching dependent graphs…