mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-11 22:51:26 +00:00
fix: resolve test failures - skip flaky MCP test and fix Windows file ordering
This commit is contained in:
parent
88b55ada3d
commit
8198894f6c
1 changed files with 2 additions and 1 deletions
|
|
@ -233,7 +233,8 @@ describe("DirectoryScanner", () => {
|
|||
await scanner.scanDirectory("/test")
|
||||
|
||||
// Verify that only non-hidden files were processed
|
||||
expect(processedFiles).toEqual(["test/file1.js", "normal/file4.js"])
|
||||
// Sort the array to ensure consistent order across platforms
|
||||
expect(processedFiles.sort()).toEqual(["normal/file4.js", "test/file1.js"])
|
||||
expect(processedFiles).not.toContain("test/.hidden/file2.js")
|
||||
expect(processedFiles).not.toContain(".git/config")
|
||||
expect(processedFiles).not.toContain("src/.next/static/file3.js")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue