From 13fee3a09005b6ad7af79cdbdc204e615677dcaf Mon Sep 17 00:00:00 2001 From: Sebastian Kranz Date: Mon, 2 Dec 2024 17:32:59 +0100 Subject: [PATCH] Fix incorrect test name --- src/patcher/replacer.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/patcher/replacer.spec.ts b/src/patcher/replacer.spec.ts index f2307a6540..ec7577489e 100644 --- a/src/patcher/replacer.spec.ts +++ b/src/patcher/replacer.spec.ts @@ -77,7 +77,7 @@ export const MOCK_JSON = { describe("replacer", () => { describe("replacer", () => { - it("should throw an error if nothing is added", () => { + it("should return { didFindOccurrence: false } if nothing is added", () => { const { didFindOccurrence } = replacer({ json: { elements: [],