Reapply "prettier"

This reverts commit 8cd4231ab5.
This commit is contained in:
Chloe Herd 2025-05-13 16:36:40 -04:00
parent 2f12354ff2
commit 37679d5f5d
5 changed files with 11 additions and 11 deletions

View file

@ -77,7 +77,9 @@ export function getMountOptions(mockData) {
mixins: mockData.mixins,
stubs: { Form },
computed: {
pageName() { return mockData?.route?.name },
pageName() {
return mockData?.route?.name;
},
},
};
const props = mockData.propsData || {};

View file

@ -263,7 +263,7 @@ function setupMocks({
navigateWithoutSaving: jest.fn(),
},
route: {
name: "estimate"
name: "estimate",
},
},
}) {

View file

@ -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",
},
};
},

View file

@ -90,12 +90,7 @@ 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

View file

@ -305,7 +305,10 @@ 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);
@ -2419,7 +2422,7 @@ function setupMocks({ fmgPage = routeData.VIN_LOOKUP.name, hasVin, carId }) {
},
},
route: {
name: fmgPage
name: fmgPage,
},
});