[CodeFactor] Apply fixes to commit e70fd02

This commit is contained in:
codefactor-io 2022-10-06 13:13:28 +00:00
parent e70fd029fa
commit c7d0025d39
No known key found for this signature in database
GPG key ID: B66B2D63282C190F
2 changed files with 3 additions and 3 deletions

View file

@ -54,10 +54,10 @@ describe('getArch', () => {
test('exception', () => {
expect(() => {
getArch('mips', 'linux', '0.101.0');
}).toThrowError('mips is not supported');
}).toThrow('mips is not supported');
expect(() => {
getArch('arm', 'linux', '0.102.0')
}).toThrowError('arm is not supported');
}).toThrow('arm is not supported');
});
});

View file

@ -22,6 +22,6 @@ describe('getOS', () => {
test('exception', () => {
expect(() => {
getOS('centos', '0.101.0');
}).toThrowError('centos is not supported');
}).toThrow('centos is not supported');
});
});