From 7014e97c76e7a09c6074f235cf5b99d034808f9a Mon Sep 17 00:00:00 2001 From: Minojhini Valaiyapathi Date: Wed, 19 Mar 2025 13:23:03 -0400 Subject: [PATCH] CASH-399 - format code --- .../textarea-question/textarea-question.vue | 4 ++-- src/layouts/customer-details/customer-details.spec.js | 6 ++---- src/layouts/customer-details/customer-details.vue | 2 +- .../customer-details/tech-notes/tech-notes.spec.js | 8 ++++---- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/digital-components/textarea-question/textarea-question.vue b/src/digital-components/textarea-question/textarea-question.vue index a22123f1d..760f1dad4 100644 --- a/src/digital-components/textarea-question/textarea-question.vue +++ b/src/digital-components/textarea-question/textarea-question.vue @@ -39,8 +39,8 @@ export default { default: "text area", }, }, - // TODO: At some point in the future we should probably add the tie in to validation here in case the field must be populated for some other use cases - setup() {}, + // TODO: At some point in the future we should probably add the tie in to validation here in case the field must be populated for some other use cases + setup() {}, computed: { questionText() { return this.getCmsContent(this.cmsWidgetName, "QuestionText"); diff --git a/src/layouts/customer-details/customer-details.spec.js b/src/layouts/customer-details/customer-details.spec.js index 6301f07a5..f5dcc5c67 100644 --- a/src/layouts/customer-details/customer-details.spec.js +++ b/src/layouts/customer-details/customer-details.spec.js @@ -21,7 +21,7 @@ const mockStoreActions = { SAVE_CUSTOMER_DETAILS: "SAVE_CUSTOMER_DETAILS", SAVE_SERVICE_LOCATION_TECH_NOTES: "SAVE_SERVICE_LOCATION_TECH_NOTES", SAVE_PAYMENT_METHOD_CHOICE: "SAVE_PAYMENT_METHOD_CHOICE", -} +}; describe("CustomerDetails.vue", () => { let wrapper; @@ -41,7 +41,7 @@ describe("CustomerDetails.vue", () => { }, mixins: [mockMixin], mocks: { - storeActions: mockStoreActions, + storeActions: mockStoreActions, }, }, data() { @@ -77,6 +77,4 @@ describe("CustomerDetails.vue", () => { expect(techNotes.props("modelValue")).toBe("Initial Tech Notes"); expect(techNotes.props("textAreaLabelCopy")).toBe("Mocked CMS Content"); }); - - }); diff --git a/src/layouts/customer-details/customer-details.vue b/src/layouts/customer-details/customer-details.vue index 3c37f1bdd..49269bcb1 100644 --- a/src/layouts/customer-details/customer-details.vue +++ b/src/layouts/customer-details/customer-details.vue @@ -48,7 +48,7 @@ v-model="isSmsOptIn" /> - + { textAreaLabelCopy: "Notes for your technician", }, global: { - mixins: [mockMixin], + mixins: [mockMixin], }, }); @@ -39,7 +39,7 @@ describe("TechNotes.vue", () => { }, global: { components: { - TextareaQuestion, + TextareaQuestion, }, mixins: [mockMixin], }, @@ -60,7 +60,7 @@ describe("TechNotes.vue", () => { textAreaLabelCopy: "Notes for your technician", }, global: { - mixins: [mockMixin], + mixins: [mockMixin], }, });