Update zulu-installer.test.ts (#310) · actions/setup-java@e886040 (original) (raw)

Commit e886040

Update zulu-installer.test.ts (#310)

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -139,6 +139,7 @@ describe('findPackageForDownload', () => {
139 139 packageType: 'jdk',
140 140 checkLatest: false
141 141 });
142 +distribution['getAvailableVersions'] = async () => manifestData;
142 143 await expect(
143 144 distribution['findPackageForDownload'](distribution['version'])
144 145 ).rejects.toThrowError(/Could not find satisfied version for semver */);

0 commit comments