From 9fa85c5525480af17207f45c84870a2564f517c8 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Mon, 12 Oct 2020 15:21:14 +0900 Subject: [PATCH] fix: jest/valid-title --- __tests__/get-os.test.ts | 4 ++-- __tests__/get-url.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/get-os.test.ts b/__tests__/get-os.test.ts index da4dad9..fbb204a 100644 --- a/__tests__/get-os.test.ts +++ b/__tests__/get-os.test.ts @@ -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'); diff --git a/__tests__/get-url.test.ts b/__tests__/get-url.test.ts index d98b31c..d259be7 100644 --- a/__tests__/get-url.test.ts +++ b/__tests__/get-url.test.ts @@ -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`;