From 6d739400e098bf0a8bdf251438d1acfa446b976b Mon Sep 17 00:00:00 2001 From: Haritha <73516759+HarithaVattikuti@users.noreply.github.com> Date: Tue, 19 Aug 2025 11:02:36 -0500 Subject: [PATCH] Fix mock platform --- __tests__/distributors/corretto-installer.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/distributors/corretto-installer.test.ts b/__tests__/distributors/corretto-installer.test.ts index 524a7811..0604603f 100644 --- a/__tests__/distributors/corretto-installer.test.ts +++ b/__tests__/distributors/corretto-installer.test.ts @@ -218,6 +218,7 @@ describe('getAvailableVersions', () => { packageType: 'jdk', checkLatest: false }); + mockPlatform(distribution, 'macos'); const expectedLink = `https://corretto.aws/downloads/resources/17.0.2.8.1/amazon-corretto-17.0.2.8.1-macosx-${distroArch}.tar.gz`;