style(uplifts): apply prettier to uplift approval tests

This commit is contained in:
Alexandre Brandizzi 2026-09-25 01:53:05 -03:00
parent 28e30f8edb
commit 3d10ba8a0c
2 changed files with 4 additions and 4 deletions

View file

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

View file

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