From 26bf50084a0c218b5b715a3641c36eac84fd2136 Mon Sep 17 00:00:00 2001 From: Alif Rachmawadi Date: Thu, 8 Oct 2020 01:36:34 +0000 Subject: [PATCH] update test platform map --- __tests__/release.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/release.test.ts b/__tests__/release.test.ts index 8c32eb8..d0f2e95 100644 --- a/__tests__/release.test.ts +++ b/__tests__/release.test.ts @@ -9,8 +9,8 @@ describe('release tests', () => { it('getPlatform', () => { const platformMap: {[index: string]: string} = { linux: 'linux', - macos: 'darwin', - windows: 'win32' + darwin: 'macos', + win32: 'windows' }; expect(platform).toEqual(platformMap[process.platform]);