adding different data files for each OS

This commit is contained in:
mahabaleshwars 2024-02-23 17:08:00 +05:30
commit ff70a8950d
11 changed files with 1409 additions and 48 deletions

View file

@ -132,7 +132,7 @@ describe('findPackageForDownload', () => {
const result = await distro['findPackageForDownload'](version);
const expectedUrl = `https://aka.ms/download-jdk/microsoft-jdk-17.0.7-linux-${distroArch}.tar.gz`;
expect(result.url).toBe(expectedUrl);
}
);
@ -160,7 +160,7 @@ describe('findPackageForDownload', () => {
expect(result.url).toBe(expectedUrl);
}
);
it('should throw an error', async () => {
await expect(distribution['findPackageForDownload']('8')).rejects.toThrow(
/Could not find satisfied version for SemVer */