diff --git a/frontend/components/StatusIndicator/StatusIndicator.tests.tsx b/frontend/components/StatusIndicator/StatusIndicator.tests.tsx index 73e4b665e404..418b6ce96dc8 100644 --- a/frontend/components/StatusIndicator/StatusIndicator.tests.tsx +++ b/frontend/components/StatusIndicator/StatusIndicator.tests.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { render, screen, fireEvent, act } from "@testing-library/react"; +import { render, screen, fireEvent } from "@testing-library/react"; import StatusIndicator from "./StatusIndicator"; @@ -16,9 +16,7 @@ describe("Status indicator", () => { ); - await act(async () => { - fireEvent.mouseEnter(screen.getByText("Online")); - }); + await fireEvent.mouseEnter(screen.getByText("Online")); expect(screen.getByText(TOOLTIP_TEXT)).toBeInTheDocument(); });