mirror of
https://github.com/actions/setup-java.git
synced 2024-12-25 00:12:17 -05:00
Update zulu-installer.test.ts (#310)
This commit is contained in:
parent
efbea1411b
commit
e886040dc2
1 changed files with 1 additions and 0 deletions
|
@ -139,6 +139,7 @@ describe('findPackageForDownload', () => {
|
|||
packageType: 'jdk',
|
||||
checkLatest: false
|
||||
});
|
||||
distribution['getAvailableVersions'] = async () => manifestData;
|
||||
await expect(
|
||||
distribution['findPackageForDownload'](distribution['version'])
|
||||
).rejects.toThrowError(/Could not find satisfied version for semver */);
|
||||
|
|
Loading…
Reference in a new issue