Skip to content

Commit e886040

Browse files
authored
Update zulu-installer.test.ts (#310)
1 parent efbea14 commit e886040

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

__tests__/distributors/zulu-installer.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ describe('findPackageForDownload', () => {
139139
packageType: 'jdk',
140140
checkLatest: false
141141
});
142+
distribution['getAvailableVersions'] = async () => manifestData;
142143
await expect(
143144
distribution['findPackageForDownload'](distribution['version'])
144145
).rejects.toThrowError(/Could not find satisfied version for semver */);

0 commit comments

Comments
 (0)