mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 04:33:11 +00:00
style(uplifts): apply prettier to uplift approval tests
This commit is contained in:
parent
28e30f8edb
commit
3d10ba8a0c
2 changed files with 4 additions and 4 deletions
|
|
@ -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" },
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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" }));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue