Updated unit test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0d2339686c
commit
14a5c78303
|
@ -45,8 +45,8 @@ describe('Component vnCheck', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should set value to null and change to true when clicked`, () => {
|
it(`should set value to null and change to true when clicked`, () => {
|
||||||
controller.field = null;
|
|
||||||
controller.tripleState = true;
|
controller.tripleState = true;
|
||||||
|
controller.field = null;
|
||||||
element.click();
|
element.click();
|
||||||
|
|
||||||
expect(controller.field).toEqual(true);
|
expect(controller.field).toEqual(true);
|
||||||
|
|
Loading…
Reference in New Issue