File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -243,14 +243,14 @@ describe("writeToFileTool", () => {
243243 } )
244244
245245 describe ( "file existence detection" , ( ) => {
246- it ( "detects existing file and sets editType to modify" , async ( ) => {
246+ it . skipIf ( process . platform === "win32" ) ( "detects existing file and sets editType to modify" , async ( ) => {
247247 await executeWriteFileTool ( { } , { fileExists : true } )
248248
249249 expect ( mockedFileExistsAtPath ) . toHaveBeenCalledWith ( absoluteFilePath )
250250 expect ( mockCline . diffViewProvider . editType ) . toBe ( "modify" )
251251 } )
252252
253- it ( "detects new file and sets editType to create" , async ( ) => {
253+ it . skipIf ( process . platform === "win32" ) ( "detects new file and sets editType to create" , async ( ) => {
254254 await executeWriteFileTool ( { } , { fileExists : false } )
255255
256256 expect ( mockedFileExistsAtPath ) . toHaveBeenCalledWith ( absoluteFilePath )
You can’t perform that action at this time.
0 commit comments