diff --git a/packages/safe-chain/src/shell-integration/supported-shells/bash.spec.js b/packages/safe-chain/src/shell-integration/supported-shells/bash.spec.js index ebe0676..bd82dfe 100644 --- a/packages/safe-chain/src/shell-integration/supported-shells/bash.spec.js +++ b/packages/safe-chain/src/shell-integration/supported-shells/bash.spec.js @@ -80,6 +80,10 @@ describe("Bash shell integration", () => { if (fs.existsSync(mockStartupFile)) { fs.unlinkSync(mockStartupFile); } + if (windowsCygwinPath && fs.existsSync(windowsCygwinPath)) { + fs.unlinkSync(windowsCygwinPath); + windowsCygwinPath = ""; + } // Reset mocks mock.reset();