From 3d10ba8a0c9290c8a28848ba7e408d1c16167a33 Mon Sep 17 00:00:00 2001 From: Alexandre Brandizzi Date: Fri, 25 Sep 2026 01:53:05 -0300 Subject: [PATCH] style(uplifts): apply prettier to uplift approval tests --- .../(protected)/uplifts/uplift-approvals-one-amount.test.tsx | 4 +++- src/test/app/(protected)/uplifts/uplift-detail-modal.test.tsx | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/app/(protected)/uplifts/uplift-approvals-one-amount.test.tsx b/src/test/app/(protected)/uplifts/uplift-approvals-one-amount.test.tsx index f8db7ceb..30a13a51 100644 --- a/src/test/app/(protected)/uplifts/uplift-approvals-one-amount.test.tsx +++ b/src/test/app/(protected)/uplifts/uplift-approvals-one-amount.test.tsx @@ -149,7 +149,9 @@ describe("Uplift Approvals shows one amount per request", () => { await renderQueue(); fireEvent.click(screen.getByRole("button", { name: "Reject" })); - expect(screen.getByRole("heading", { name: `Reject uplift of ${UPLIFT}?` })).toBeInTheDocument(); + expect( + screen.getByRole("heading", { name: `Reject uplift of ${UPLIFT}?` }), + ).toBeInTheDocument(); fireEvent.change(screen.getByLabelText(/reason for rejection/i), { target: { value: "Out of scope" }, }); diff --git a/src/test/app/(protected)/uplifts/uplift-detail-modal.test.tsx b/src/test/app/(protected)/uplifts/uplift-detail-modal.test.tsx index 3c16ca6b..aed0bfb6 100644 --- a/src/test/app/(protected)/uplifts/uplift-detail-modal.test.tsx +++ b/src/test/app/(protected)/uplifts/uplift-detail-modal.test.tsx @@ -195,9 +195,7 @@ describe("UpliftDetailModal", () => { const footerButtons = screen .getAllByRole("button") .map((button) => button.textContent) - .filter( - (label) => label === "Reject" || label === "Approve $150.00" || label === "Revoke", - ); + .filter((label) => label === "Reject" || label === "Approve $150.00" || label === "Revoke"); expect(footerButtons).toEqual(["Reject", "Approve $150.00"]); fireEvent.click(screen.getByRole("button", { name: "Approve $150.00" }));