revert cash-433

unit test case
This commit is contained in:
hiteshkumar87 2025-04-16 22:11:30 +05:30
parent a08bc842a7
commit e4b74f846e

View file

@ -100,7 +100,7 @@ describe("appointment-type-question.vue", () => {
]);
});
it("Should display only the In-Shop answer when only in-shop service is available", async () => {
it("Should display only the In-Shop and Drop-Off answers when only in-shop service is available", async () => {
// Arrange/Act
const { wrapper } = setupMocks({
mixins: [mockMixin],
@ -108,7 +108,6 @@ describe("appointment-type-question.vue", () => {
cmsWidgetName: cmsWidgetName,
isServiceableInshop: true,
isServiceableMobile: false,
isServiceableDropoff: false,
},
mountOptions: {
attachTo: document.body,
@ -124,6 +123,13 @@ describe("appointment-type-question.vue", () => {
SubWidgetName: "",
Text: "In-shop",
},
{
AnswerImageUrl: "",
Name: "Dropoff",
SubText: "",
SubWidgetName: "",
Text: "Drop-off",
},
]);
});