Fix mock platform

This commit is contained in:
Haritha 2025-08-19 11:02:36 -05:00 committed by GitHub
commit 6d739400e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`;