From 8cd4231ab52442acdee91cde91717ac4195180fc Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Tue, 13 May 2025 14:30:35 -0400 Subject: [PATCH] Revert "prettier" This reverts commit ed8aefd67517dd290f915dbf19fa1cb4ac8b5870. --- src/helpers/unit-test-helper.js | 4 +--- src/layouts/estimate/estimate.spec.js | 2 +- src/layouts/insurance-company/insurance-company.spec.js | 2 +- src/layouts/return-user/return-user.vue | 7 ++++++- src/mixins/vehicle-questions-mixin.spec.js | 7 ++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/helpers/unit-test-helper.js b/src/helpers/unit-test-helper.js index 9ac3edde9..8f3d04183 100644 --- a/src/helpers/unit-test-helper.js +++ b/src/helpers/unit-test-helper.js @@ -77,9 +77,7 @@ export function getMountOptions(mockData) { mixins: mockData.mixins, stubs: { Form }, computed: { - pageName() { - return mockData?.route?.name; - }, + pageName() { return mockData?.route?.name }, }, }; const props = mockData.propsData || {}; diff --git a/src/layouts/estimate/estimate.spec.js b/src/layouts/estimate/estimate.spec.js index 5217325f9..38b4ad41e 100644 --- a/src/layouts/estimate/estimate.spec.js +++ b/src/layouts/estimate/estimate.spec.js @@ -263,7 +263,7 @@ function setupMocks({ navigateWithoutSaving: jest.fn(), }, route: { - name: "estimate", + name: "estimate" }, }, }) { diff --git a/src/layouts/insurance-company/insurance-company.spec.js b/src/layouts/insurance-company/insurance-company.spec.js index 7df1f047a..540866d5f 100644 --- a/src/layouts/insurance-company/insurance-company.spec.js +++ b/src/layouts/insurance-company/insurance-company.spec.js @@ -26,7 +26,7 @@ jest.mock("@/mixins/base-mixin.js", () => ({ return { navigationScenarios: { CLICKED_BACK: "clicked_back", - CLICKED_PAY_ON_MY_OWN: "clicked_pay_on_my_own", + CLICKED_PAY_ON_MY_OWN: "clicked_pay_on_my_own" }, }; }, diff --git a/src/layouts/return-user/return-user.vue b/src/layouts/return-user/return-user.vue index 5b397ea76..91df48150 100644 --- a/src/layouts/return-user/return-user.vue +++ b/src/layouts/return-user/return-user.vue @@ -90,7 +90,12 @@ export default { }, async startOver() { - this.pushEventToGA(this.pageName, this.GaActions.CLICKED, "Start over", true); + this.pushEventToGA( + this.pageName, + this.GaActions.CLICKED, + "Start over", + true + ); this.$router.navigateWithoutSaving( this.navigationScenarios.CLICKED_RESTART, this.pageName diff --git a/src/mixins/vehicle-questions-mixin.spec.js b/src/mixins/vehicle-questions-mixin.spec.js index 0fd027258..558adadd0 100644 --- a/src/mixins/vehicle-questions-mixin.spec.js +++ b/src/mixins/vehicle-questions-mixin.spec.js @@ -305,10 +305,7 @@ describe("vehicle-questions-mixin", () => { const { wrapper } = setupMocks({}); // Act - const result = wrapper.vm.currentPageComesBeforePage( - currentPage.name, - nextPage.name - ); + const result = wrapper.vm.currentPageComesBeforePage(currentPage.name, nextPage.name); // Assert expect(result).toEqual(expectedResult); @@ -2422,7 +2419,7 @@ function setupMocks({ fmgPage = routeData.VIN_LOOKUP.name, hasVin, carId }) { }, }, route: { - name: fmgPage, + name: fmgPage }, });