Cleanup test bash file for cygwin

This commit is contained in:
Sander Declerck 2025-09-10 14:13:51 +02:00
parent 6826728481
commit 32ba9d71b5
No known key found for this signature in database

View file

@ -80,6 +80,10 @@ describe("Bash shell integration", () => {
if (fs.existsSync(mockStartupFile)) { if (fs.existsSync(mockStartupFile)) {
fs.unlinkSync(mockStartupFile); fs.unlinkSync(mockStartupFile);
} }
if (windowsCygwinPath && fs.existsSync(windowsCygwinPath)) {
fs.unlinkSync(windowsCygwinPath);
windowsCygwinPath = "";
}
// Reset mocks // Reset mocks
mock.reset(); mock.reset();