()
| 1546 | |
| 1547 | it('should throw when sync validator passed into async validator param', () => { |
| 1548 | const fn = () => |
| 1549 | new FormControl('', syncValidator, syncValidator as unknown as AsyncValidatorFn); |
| 1550 | // test for the specific error since without the error check it would still throw an error |
| 1551 | // but |
| 1552 | // not a meaningful one |
no outgoing calls