Skip to content

Commit

Permalink
console error mock
Browse files Browse the repository at this point in the history
Signed-off-by: Luiz Bezerra <[email protected]>
  • Loading branch information
luluiz committed Oct 24, 2024
1 parent ddf7a1a commit 73ebd2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jest.mock("react-i18next", () => ({

describe("ActionMenu", () => {
beforeEach(() => {
jest.clearAllMocks();
jest.spyOn(console, "error").mockImplementation(() => {});
});

const renderComponent = (propsOverride: Partial<ActionMenuProps> = {}) => {
Expand Down

0 comments on commit 73ebd2c

Please sign in to comment.