Skip to content

Commit

Permalink
fix test label
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed Jun 20, 2024
1 parent a17b380 commit 52e6c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pageEditor/EditorContent.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 52e6c31

Please sign in to comment.