fix(3597): add Windows-safe rmSync retry budgets in lint/security tests

This commit is contained in:
Tom Boucher
2026-05-16 13:33:24 -04:00
parent 1a1ad2ec87
commit 02d3cf3033
3 changed files with 3 additions and 3 deletions

View File

@@ -284,7 +284,7 @@ describe('docs-required lint: readFragmentsFromDisk', () => {
fs.mkdirSync(path.join(tmp, '.changeset'), { recursive: true });
fn(tmp);
} finally {
fs.rmSync(tmp, { recursive: true, force: true });
fs.rmSync(tmp, { recursive: true, force: true, maxRetries: 20, retryDelay: 250 });
}
}