diff --git a/src/app/(app)/quotes/approvals/page.test.tsx b/src/app/(app)/quotes/approvals/page.test.tsx index 0ba4eb2..768b413 100644 --- a/src/app/(app)/quotes/approvals/page.test.tsx +++ b/src/app/(app)/quotes/approvals/page.test.tsx @@ -163,8 +163,8 @@ describe("ApprovalsPage — Approve & send from list", () => { const buttons = await screen.findAllByRole("button", { name: /approve & send/i }); fireEvent.click(buttons[0]); await waitFor(() => expect(captureModalProps).toHaveBeenCalled()); - // The modal stub's "Submit modal" button fires triggerSend which is - // wired up as the page's onSend callback below. + // The modal stub's "Submit modal" button calls props.onSend directly, + // which is the page's sendApprove callback. const submitBtn = await screen.findByRole("button", { name: /submit modal/i }); fireEvent.click(submitBtn); await waitFor(() => {