From 1b9e00b445776a037deda179a83ee81926857e6a Mon Sep 17 00:00:00 2001 From: Arno V Date: Sat, 30 May 2026 12:00:54 -0400 Subject: [PATCH] chore(search): fix self-referential test count after repository metadata addition The grep test in core.test.ts searches the search package's own package.json (case-insensitive pattern "type") and asserted 5 matches. Adding the repository block in #564 introduced a "type": "git" line, making it 6. Update the expected count accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) --- packages/search/src/__tests__/core.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/search/src/__tests__/core.test.ts b/packages/search/src/__tests__/core.test.ts index dab2546a..8047466f 100644 --- a/packages/search/src/__tests__/core.test.ts +++ b/packages/search/src/__tests__/core.test.ts @@ -396,7 +396,7 @@ describe("when testing for utilities with logging side-effects", () => { const search = new Search(config); await search.start(); - expect(mockLog).toHaveBeenCalledWith(" package.json (5 occurrences)"); + expect(mockLog).toHaveBeenCalledWith(" package.json (6 occurrences)"); }); it("should exit in error if the grep pattern is invalid", async () => {