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', () => {