From 35c79ae6679b8bcf235796f1d2307fe19d244bfa Mon Sep 17 00:00:00 2001 From: Gregory Mitchell Date: Mon, 9 Dec 2024 13:49:28 +0000 Subject: [PATCH] Fix Tests on Windows --- __tests__/distributors/jetbrains-installer.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/distributors/jetbrains-installer.test.ts b/__tests__/distributors/jetbrains-installer.test.ts index bc09b95b..02316e44 100644 --- a/__tests__/distributors/jetbrains-installer.test.ts +++ b/__tests__/distributors/jetbrains-installer.test.ts @@ -42,7 +42,7 @@ describe('getAvailableVersions', () => { const length = os.platform() === 'win32' - ? manifestData.length - 2 + ? manifestData.length - 1 : manifestData.length + 1; expect(availableVersions.length).toBe(length); }, 10_000);