CASH-489
CASH-489 fixed unit tests
This commit is contained in:
parent
f0cfe5c0de
commit
d1c8232b89
1 changed files with 66 additions and 0 deletions
|
|
@ -264,6 +264,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -313,6 +319,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -360,6 +372,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -404,6 +422,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -449,6 +473,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -494,6 +524,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -540,6 +576,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -588,6 +630,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -634,6 +682,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -681,6 +735,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
@ -780,6 +840,12 @@ describe("quote.vue", () => {
|
||||||
lineItems: {
|
lineItems: {
|
||||||
glassParts: ["item", "item2"],
|
glassParts: ["item", "item2"],
|
||||||
},
|
},
|
||||||
|
pageData: jest.fn((page) => {
|
||||||
|
if (page === "quote") {
|
||||||
|
return { saveProgressPopupSkipped: true };
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
}),
|
||||||
applicationUser: {
|
applicationUser: {
|
||||||
experiments: [],
|
experiments: [],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue