CASH-399 - format code
This commit is contained in:
parent
fbbadd721f
commit
7014e97c76
4 changed files with 9 additions and 11 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
v-model="isSmsOptIn" />
|
||||
|
||||
<techNotes v-model="techNotes" :textAreaLabelCopy="textAreaLabelCopy" />
|
||||
|
||||
|
||||
<navbar
|
||||
cmsWidgetName="FunnelFooterWidget"
|
||||
ref="navbar"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import TextareaQuestion from "@/digital-components/textarea-question/textarea-qu
|
|||
const mockMixin = {
|
||||
methods: {
|
||||
getCmsContent() {
|
||||
return "Mocked CMS Content";
|
||||
return "Mocked CMS Content";
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
@ -19,7 +19,7 @@ describe("TechNotes.vue", () => {
|
|||
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],
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue