Skip to content

Commit

Permalink
Fix Windows EBUSY error when removing files during tests (#2401)
Browse files Browse the repository at this point in the history
  • Loading branch information
apedroferreira authored Aug 1, 2023
1 parent d740614 commit e48c298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/playwright/localTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export async function withApp(
child.kill();
}
} finally {
await fs.rm(tmpTestDir, { recursive: true });
await fs.rm(tmpTestDir, { recursive: true, maxRetries: 3, retryDelay: 1000 });
}
}

Expand Down

0 comments on commit e48c298

Please sign in to comment.