MCPcopy
hub / github.com/angular/angular / fn

Function fn

packages/forms/test/form_control_spec.ts:1548–1549  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 15

createMetricFunction · 0.50
patchJasmineItFunction · 0.50
runMethod · 0.50
runOutsideAngularMethod · 0.50
useMethod · 0.50
registerOnChangeMethod · 0.50
registerOnChangeMethod · 0.50
registerOnChangeMethod · 0.50
registerOnChangeMethod · 0.50
registerOnChangeMethod · 0.50

Calls

no outgoing calls

Tested by 15

actFunction · 0.40
actFunction · 0.40
actAsyncFunction · 0.40
actFunction · 0.40
actFunction · 0.40
actAsyncFunction · 0.40
actFunction · 0.40
actFunction · 0.40
actFunction · 0.40
actFunction · 0.40
actFunction · 0.40
actFunction · 0.40