mirror of
https://github.com/actions/setup-java.git
synced 2025-09-09 20:17:07 +00:00
Fix mock platform
This commit is contained in:
parent
09fb09208a
commit
6d739400e0
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ describe('getAvailableVersions', () => {
|
||||||
packageType: 'jdk',
|
packageType: 'jdk',
|
||||||
checkLatest: false
|
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`;
|
const expectedLink = `https://corretto.aws/downloads/resources/17.0.2.8.1/amazon-corretto-17.0.2.8.1-macosx-${distroArch}.tar.gz`;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue