Skip to content

Commit

Permalink
Update zulu-installer.test.ts (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishub committed Mar 31, 2022
1 parent efbea14 commit e886040
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/distributors/zulu-installer.test.ts
Expand Up @@ -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 */);
Expand Down

0 comments on commit e886040

Please sign in to comment.