CSR-1108
Prettier
This commit is contained in:
parent
e5bfae5811
commit
68cca959a7
1 changed files with 9 additions and 11 deletions
|
|
@ -7,7 +7,7 @@ import * as navigateToHeritage from "@/helpers/heritage-integration/navigation-h
|
|||
|
||||
jest.mock("@/store", () => ({
|
||||
commit: jest.fn(),
|
||||
dispatch: jest.fn()
|
||||
dispatch: jest.fn(),
|
||||
}));
|
||||
|
||||
// Mock our module for promises.
|
||||
|
|
@ -32,7 +32,6 @@ jest.mock(
|
|||
{ virtual: true }
|
||||
);
|
||||
|
||||
|
||||
store.getters = {
|
||||
order: {
|
||||
accountNumber: applicationConfig.CASH_ACCOUNT_NUMBER,
|
||||
|
|
@ -40,7 +39,7 @@ store.getters = {
|
|||
payment: {
|
||||
insuranceCoverage: {},
|
||||
isInsurance: false,
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
afterEach(() => {
|
||||
|
|
@ -52,7 +51,7 @@ afterEach(() => {
|
|||
payment: {
|
||||
insuranceCoverage: {},
|
||||
isInsurance: false,
|
||||
}
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
|
|
@ -64,13 +63,13 @@ describe("quote.vue", () => {
|
|||
router: {
|
||||
navigateWithSaving: jest.fn(),
|
||||
},
|
||||
route: { quote }
|
||||
route: { quote },
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
store.getters.payment = {
|
||||
insuranceCoverage: {},
|
||||
isInsurance : false
|
||||
isInsurance: false,
|
||||
};
|
||||
|
||||
wrapper.vm.dispatchStoreAction = jest.fn(() => {
|
||||
|
|
@ -93,13 +92,13 @@ describe("quote.vue", () => {
|
|||
router: {
|
||||
navigateWithSaving: jest.fn(),
|
||||
},
|
||||
route: { quote }
|
||||
route: { quote },
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
store.getters.payment = {
|
||||
insuranceCoverage: {},
|
||||
isInsurance : true
|
||||
isInsurance: true,
|
||||
};
|
||||
|
||||
wrapper.vm.dispatchStoreAction = jest.fn(() => {
|
||||
|
|
@ -116,7 +115,6 @@ describe("quote.vue", () => {
|
|||
});
|
||||
});
|
||||
|
||||
|
||||
function setupMocks({ customMountOptions }) {
|
||||
const mountOptions = getMountOptions({
|
||||
...customMountOptions,
|
||||
|
|
|
|||
Loading…
Reference in a new issue