[#197] added missing infos
This commit is contained in:
committed by
Benoit TELLIER
parent
ed8bb41ca9
commit
6411ed636b
@@ -155,8 +155,10 @@ describe("Event Preview Display", () => {
|
||||
/>,
|
||||
preloadedState
|
||||
);
|
||||
fireEvent.click(screen.getByTestId("MoreVertIcon"));
|
||||
expect(screen.queryByText("Delete event")).not.toBeInTheDocument();
|
||||
const moreButton = screen.getByTestId("MoreVertIcon");
|
||||
if (moreButton) {
|
||||
expect(screen.queryByText("Delete event")).not.toBeInTheDocument();
|
||||
}
|
||||
cleanup();
|
||||
// Renders the personnal cal event
|
||||
renderWithProviders(
|
||||
|
||||
Reference in New Issue
Block a user