mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-09 22:31:08 +00:00
Disable flakey tests (#4911)
This commit is contained in:
parent
db334c182f
commit
c6d1cee448
1 changed files with 2 additions and 2 deletions
|
|
@ -243,14 +243,14 @@ describe("writeToFileTool", () => {
|
|||
})
|
||||
|
||||
describe("file existence detection", () => {
|
||||
it("detects existing file and sets editType to modify", async () => {
|
||||
it.skipIf(process.platform === "win32")("detects existing file and sets editType to modify", async () => {
|
||||
await executeWriteFileTool({}, { fileExists: true })
|
||||
|
||||
expect(mockedFileExistsAtPath).toHaveBeenCalledWith(absoluteFilePath)
|
||||
expect(mockCline.diffViewProvider.editType).toBe("modify")
|
||||
})
|
||||
|
||||
it("detects new file and sets editType to create", async () => {
|
||||
it.skipIf(process.platform === "win32")("detects new file and sets editType to create", async () => {
|
||||
await executeWriteFileTool({}, { fileExists: false })
|
||||
|
||||
expect(mockedFileExistsAtPath).toHaveBeenCalledWith(absoluteFilePath)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue