From 52e6c3173502371f497cfbe3f0cffe769172e877 Mon Sep 17 00:00:00 2001 From: Graham Langford Date: Thu, 20 Jun 2024 16:11:56 -0500 Subject: [PATCH] fix test label --- src/pageEditor/EditorContent.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);