INSR-8882: Fix test that failed when run in larger suite
This commit is contained in:
parent
d4f7213a25
commit
7146bc1656
1 changed files with 3 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ const sessionStorage = {
|
|||
currentDeductible: {
|
||||
replace: 100,
|
||||
repair: 0
|
||||
}
|
||||
},
|
||||
isUnverified: false
|
||||
};
|
||||
|
||||
function getMountedComponent(mainInitialState = {}, initialData = {}, methodToRun = () => {}, mixin = mockMixin) {
|
||||
|
|
@ -1103,6 +1104,7 @@ describe('OrderConfirmation.vue', () => {
|
|||
const order = deepClone(sessionStorage);
|
||||
const expectedTotal = 0;
|
||||
order.lineItems.glassParts = [{ partType: 'WINDSHIELD', sellingPrice: 0 }];
|
||||
order.insuranceCoverage.coverageType = coverageType.ITAC;
|
||||
const mockStoreActions = () => {
|
||||
useMainStore().getSubmittedOrder = jest.fn().mockImplementation(() => order);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue