fix: downloads

This commit is contained in:
Filip Richtarik 2024-02-03 03:04:41 +01:00 committed by Filip Richtárik
parent 7db63f5e7f
commit f2109f1312
18 changed files with 72 additions and 56 deletions

View file

@ -2,9 +2,9 @@ import getArch from '../src/get-arch';
describe('getArch', () => {
test('processor architecture', () => {
expect(getArch('x64')).toBe('64bit');
expect(getArch('arm')).toBe('ARM');
expect(getArch('arm64')).toBe('ARM64');
expect(getArch('x64')).toBe('amd64');
expect(getArch('arm')).toBe('arm');
expect(getArch('arm64')).toBe('arm64');
});
test('exception', () => {