Prettier
This commit is contained in:
CarlNation 2023-02-10 16:20:34 -05:00
parent e5bfae5811
commit 68cca959a7

View file

@ -7,7 +7,7 @@ import * as navigateToHeritage from "@/helpers/heritage-integration/navigation-h
jest.mock("@/store", () => ({ jest.mock("@/store", () => ({
commit: jest.fn(), commit: jest.fn(),
dispatch: jest.fn() dispatch: jest.fn(),
})); }));
// Mock our module for promises. // Mock our module for promises.
@ -32,7 +32,6 @@ jest.mock(
{ virtual: true } { virtual: true }
); );
store.getters = { store.getters = {
order: { order: {
accountNumber: applicationConfig.CASH_ACCOUNT_NUMBER, accountNumber: applicationConfig.CASH_ACCOUNT_NUMBER,
@ -40,7 +39,7 @@ store.getters = {
payment: { payment: {
insuranceCoverage: {}, insuranceCoverage: {},
isInsurance: false, isInsurance: false,
} },
}; };
afterEach(() => { afterEach(() => {
@ -52,7 +51,7 @@ afterEach(() => {
payment: { payment: {
insuranceCoverage: {}, insuranceCoverage: {},
isInsurance: false, isInsurance: false,
} },
}; };
}); });
@ -64,13 +63,13 @@ describe("quote.vue", () => {
router: { router: {
navigateWithSaving: jest.fn(), navigateWithSaving: jest.fn(),
}, },
route: { quote } route: { quote },
}, },
}); });
store.getters.payment = { store.getters.payment = {
insuranceCoverage: {}, insuranceCoverage: {},
isInsurance : false isInsurance: false,
}; };
wrapper.vm.dispatchStoreAction = jest.fn(() => { wrapper.vm.dispatchStoreAction = jest.fn(() => {
@ -93,13 +92,13 @@ describe("quote.vue", () => {
router: { router: {
navigateWithSaving: jest.fn(), navigateWithSaving: jest.fn(),
}, },
route: { quote } route: { quote },
}, },
}); });
store.getters.payment = { store.getters.payment = {
insuranceCoverage: {}, insuranceCoverage: {},
isInsurance : true isInsurance: true,
}; };
wrapper.vm.dispatchStoreAction = jest.fn(() => { wrapper.vm.dispatchStoreAction = jest.fn(() => {
@ -116,7 +115,6 @@ describe("quote.vue", () => {
}); });
}); });
function setupMocks({ customMountOptions }) { function setupMocks({ customMountOptions }) {
const mountOptions = getMountOptions({ const mountOptions = getMountOptions({
...customMountOptions, ...customMountOptions,