From 9962d61fc7130ee180645667b411a2a7dda29a07 Mon Sep 17 00:00:00 2001 From: Scott Kiener Date: Thu, 29 Sep 2022 07:40:05 -0400 Subject: [PATCH] CSR-726 | Update list-button-horizontal tests Checkvalue now should be false instead of undefined --- .../list-button-horizontal/list-button-horizontal.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js b/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js index f55ba2b94..db439af75 100644 --- a/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js +++ b/src/ux-components/list-button-horizontal/list-button-horizontal.spec.js @@ -194,7 +194,7 @@ describe("list-button-horizontal.vue", () => { }); wrapper.vm.handleCheckChange(); // Assert - expect(wrapper.emitted()["isCheckedChanged"][0]).toEqual([{value: "List Card Checkbox", checkValue: Boolean, buttonId: undefined, checkValue: undefined}]); + expect(wrapper.emitted()["isCheckedChanged"][0]).toEqual([{value: "List Card Checkbox", checkValue: Boolean, buttonId: undefined, checkValue: false}]); }); it("Should set checkValue data if selectedButtonIDs has value(s)", async () => {