test(forms): update test name with correct wording (#21833)
Use the term primitive value instead of standalone Fixes #21831 PR Close #21833
This commit is contained in:
parent
9d02db3254
commit
9fdb804b63
@ -41,7 +41,7 @@ import {FormBuilder} from '@angular/forms';
|
|||||||
expect(g.controls['password'].asyncValidator).toEqual(asyncValidator);
|
expect(g.controls['password'].asyncValidator).toEqual(asyncValidator);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should use controls whose form state is a standalone value', () => {
|
it('should use controls whose form state is a primitive value', () => {
|
||||||
const g = b.group({'login': b.control('some value', syncValidator, asyncValidator)});
|
const g = b.group({'login': b.control('some value', syncValidator, asyncValidator)});
|
||||||
|
|
||||||
expect(g.controls['login'].value).toEqual('some value');
|
expect(g.controls['login'].value).toEqual('some value');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user