import { act } from "react"; import { createRoot } from "react-dom/client"; import type { ButtonHTMLAttributes } from "react"; import { QuoteItemsInlineRowActions } from "./QuoteItemsInlineRowActions"; declare global { var IS_REACT_ACT_ENVIRONMENT: boolean; } globalThis.IS_REACT_ACT_ENVIRONMENT = true; jest.mock("i18next", () => ({ t: (key: string) => key })); jest.mock("@/ui", () => ({ Button: (props: ButtonHTMLAttributes) =>