diff --git a/src/patcher/replacer.spec.ts b/src/patcher/replacer.spec.ts index 314a83c7e2..f2c0fa1f94 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: [],