diff --git a/src/pageEditor/EditorContent.test.tsx b/src/pageEditor/EditorContent.test.tsx index 7f25fa769f..4c0b8ebdc0 100644 --- a/src/pageEditor/EditorContent.test.tsx +++ b/src/pageEditor/EditorContent.test.tsx @@ -44,7 +44,7 @@ jest.mock("@/pageEditor/hooks/useCurrentInspectedUrl"); jest.mock("@/contentScript/messenger/api"); describe("error alerting in the UI", () => { - test("shows error when checkAvailableDraftElements fails", async () => { + test("shows error when checkAvailableDraftModComponents fails", async () => { const message = "testing error"; jest.mocked(getCurrentInspectedURL).mockImplementation(() => { throw new Error(message);