mirror of
https://github.com/actions/setup-java.git
synced 2025-06-30 13:04:13 +00:00
Merge branch 'actions:main' into cacheOnGhes
This commit is contained in:
commit
31eb46e10a
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ describe('findPackageForDownload', () => {
|
||||||
packageType: 'jdk',
|
packageType: 'jdk',
|
||||||
checkLatest: false
|
checkLatest: false
|
||||||
});
|
});
|
||||||
|
distribution['getAvailableVersions'] = async () => manifestData;
|
||||||
await expect(
|
await expect(
|
||||||
distribution['findPackageForDownload'](distribution['version'])
|
distribution['findPackageForDownload'](distribution['version'])
|
||||||
).rejects.toThrowError(/Could not find satisfied version for semver */);
|
).rejects.toThrowError(/Could not find satisfied version for semver */);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue