Run prettier and lint
This commit is contained in:
@@ -34,7 +34,9 @@ describe("ConfirmStakeholdersPage", () => {
|
||||
).toBeInTheDocument();
|
||||
await user.click(screen.getByRole("button", { name: "Close alert" }));
|
||||
expect(
|
||||
screen.queryByText(/Congratulations! You've drafted your CommunityRule!/i),
|
||||
screen.queryByText(
|
||||
/Congratulations! You've drafted your CommunityRule!/i,
|
||||
),
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -11,10 +11,10 @@ describe("InfoMessageBox", () => {
|
||||
];
|
||||
|
||||
it("renders title and item labels", () => {
|
||||
render(
|
||||
<InfoMessageBox title="Important" items={items} />,
|
||||
);
|
||||
expect(screen.getByRole("region", { name: "Important" })).toBeInTheDocument();
|
||||
render(<InfoMessageBox title="Important" items={items} />);
|
||||
expect(
|
||||
screen.getByRole("region", { name: "Important" }),
|
||||
).toBeInTheDocument();
|
||||
expect(screen.getByText("Important")).toBeInTheDocument();
|
||||
expect(screen.getByText("Option A")).toBeInTheDocument();
|
||||
expect(screen.getByText("Option B")).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user