From 316c0fa37bdb9c6ff233219eb45c9588c4b6015c Mon Sep 17 00:00:00 2001 From: Aryan Sawant <156219699+aryanjsawant@users.noreply.github.com> Date: Thu, 10 Jul 2025 02:08:58 -0400 Subject: [PATCH] Fix Patch for grep.test.ts (#3747) --- packages/core/src/tools/grep.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/tools/grep.test.ts b/packages/core/src/tools/grep.test.ts index 75cf1d28..62346bcd 100644 --- a/packages/core/src/tools/grep.test.ts +++ b/packages/core/src/tools/grep.test.ts @@ -234,7 +234,9 @@ describe('GrepTool', () => { }; // The path will be relative to the tempRootDir, so we check for containment. expect(grepTool.getDescription(params)).toContain("'testPattern' within"); - expect(grepTool.getDescription(params)).toContain('src/app'); + expect(grepTool.getDescription(params)).toContain( + path.join('src', 'app'), + ); }); it('should generate correct description with pattern, include, and path', () => {