From e886040dc21d1d2c3f71482e1b6518445ef5e620 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com> Date: Thu, 31 Mar 2022 22:03:52 +0530 Subject: [PATCH] Update zulu-installer.test.ts (#310) --- __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 */);