This commit is contained in:
Salman Muin Kayser Chishti 2025-08-08 07:13:21 +01:00
commit ec5db35500
8 changed files with 33 additions and 12 deletions

View file

@ -191,7 +191,9 @@ describe('getAvailableVersions', () => {
])(
'defaults to os.arch(): %s mapped to distro arch: %s',
async (osArch: string, distroArch: string) => {
jest.spyOn(os, 'arch').mockReturnValue(osArch as ReturnType<typeof os.arch>);
jest
.spyOn(os, 'arch')
.mockReturnValue(osArch as ReturnType<typeof os.arch>);
const installerOptions: JavaInstallerOptions = {
version: '17',