Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-jos committed Jan 3, 2025
1 parent 6dd7804 commit 9768b9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe("OperatorSignInModal", () => {
<OperatorSignInModal show={true} onComplete={jest.fn()} close={close} />,
);

await userEvent.click(view.getByRole("button", { name: "[x]" }));
await userEvent.click(view.getByRole("button", { name: "Close" }));
expect(close).toHaveBeenCalled();
view.rerender(
<OperatorSignInModal show={false} onComplete={jest.fn()} close={close} />,
Expand Down

0 comments on commit 9768b9a

Please sign in to comment.