fix: downloads
This commit is contained in:
parent
7db63f5e7f
commit
f2109f1312
18 changed files with 72 additions and 56 deletions
|
|
@ -2,9 +2,9 @@ import getOS from '../src/get-os';
|
|||
|
||||
describe('getOS', () => {
|
||||
test('os type', () => {
|
||||
expect(getOS('linux')).toBe('Linux');
|
||||
expect(getOS('darwin')).toBe('macOS');
|
||||
expect(getOS('win32')).toBe('Windows');
|
||||
expect(getOS('linux')).toBe('linux');
|
||||
expect(getOS('darwin')).toBe('darwin');
|
||||
expect(getOS('win32')).toBe('windows');
|
||||
});
|
||||
|
||||
test('exception', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue