deps: update (#459)

This commit is contained in:
Shohei Ueda
2020-10-12 15:26:57 +09:00
committed by GitHub
parent d183b58fee
commit a5336818df
4 changed files with 2415 additions and 1714 deletions

View File

@@ -1,13 +1,13 @@
import getOS from '../src/get-os';
describe('getOS', () => {
test('test', () => {
test('os type', () => {
expect(getOS('linux')).toBe('Linux');
expect(getOS('darwin')).toBe('macOS');
expect(getOS('win32')).toBe('Windows');
});
test('test exception', () => {
test('exception', () => {
expect(() => {
getOS('centos');
}).toThrowError('centos is not supported');