From 32ba9d71b5668775a970374aac00f6e60e6d41f1 Mon Sep 17 00:00:00 2001 From: Sander Declerck Date: Wed, 10 Sep 2025 14:13:51 +0200 Subject: [PATCH] Cleanup test bash file for cygwin --- .../src/shell-integration/supported-shells/bash.spec.js | 4 ++++ 1 file changed, 4 insertions(+) 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();