[CodeFactor] Apply fixes to commit e70fd02
This commit is contained in:
parent
e70fd029fa
commit
c7d0025d39
2 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
|
@ -22,6 +22,6 @@ describe('getOS', () => {
|
|||
test('exception', () => {
|
||||
expect(() => {
|
||||
getOS('centos', '0.101.0');
|
||||
}).toThrowError('centos is not supported');
|
||||
}).toThrow('centos is not supported');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue