diff --git a/web/src/components/storage/ProposalPage.test.jsx b/web/src/components/storage/ProposalPage.test.jsx index 0692bc3d4c..9909a63964 100644 --- a/web/src/components/storage/ProposalPage.test.jsx +++ b/web/src/components/storage/ProposalPage.test.jsx @@ -26,7 +26,7 @@ import { createClient } from "~/client"; import { ProposalPage } from "~/components/storage"; jest.mock("~/client"); -jest.mock("~/components/storage/ProposalPageOptions", mockComponent("ProposalPage Options")); +jest.mock("~/components/storage/ProposalPageOptions", () => mockComponent("ProposalPage Options")); jest.mock("@patternfly/react-core", () => { const original = jest.requireActual("@patternfly/react-core");