From 62204348e379d875fcd0bb82b8249fc798f3daad Mon Sep 17 00:00:00 2001 From: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com> Date: Thu, 31 Mar 2022 21:46:06 +0530 Subject: [PATCH] Update zulu-installer.test.ts --- __tests__/distributors/zulu-installer.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/__tests__/distributors/zulu-installer.test.ts b/__tests__/distributors/zulu-installer.test.ts index 666cd90..79a3389 100644 --- a/__tests__/distributors/zulu-installer.test.ts +++ b/__tests__/distributors/zulu-installer.test.ts @@ -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 */);