Compare commits

...

1 Commits

Author SHA1 Message Date
Shubham Tiwari 62204348e3
Update zulu-installer.test.ts 2022-03-31 21:46:06 +05:30
1 changed files with 1 additions and 0 deletions

View File

@ -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 */);