Skip to content

Commit

Permalink
deps: update (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Oct 12, 2020
1 parent d183b58 commit a533681
Show file tree
Hide file tree
Showing 4 changed files with 2,422 additions and 1,721 deletions.
4 changes: 2 additions & 2 deletions __tests__/get-os.test.ts
Original file line number Diff line number Diff line change
@@ -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');
Expand Down
2 changes: 1 addition & 1 deletion __tests__/get-url.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import getURL from '../src/get-url';

describe('getURL()', () => {
test('test', () => {
test('get a URL to an asset for each platform', () => {
const baseURL = 'https://github.com/gohugoio/hugo/releases/download/v0.58.2';
const urlLinux = `${baseURL}/hugo_0.58.2_Linux-64bit.tar.gz`;
const urlLinuxExtended = `${baseURL}/hugo_extended_0.58.2_Linux-64bit.tar.gz`;
Expand Down
Loading

0 comments on commit a533681

Please sign in to comment.