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
7e95802cc1
commit
54a14312d1
|
@ -42,7 +42,7 @@ import {of } from 'rxjs/observable/of';
|
||||||
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…
Reference in New Issue