update test platform map
This commit is contained in:
@@ -9,8 +9,8 @@ describe('release tests', () => {
|
|||||||
it('getPlatform', () => {
|
it('getPlatform', () => {
|
||||||
const platformMap: {[index: string]: string} = {
|
const platformMap: {[index: string]: string} = {
|
||||||
linux: 'linux',
|
linux: 'linux',
|
||||||
macos: 'darwin',
|
darwin: 'macos',
|
||||||
windows: 'win32'
|
win32: 'windows'
|
||||||
};
|
};
|
||||||
|
|
||||||
expect(platform).toEqual(platformMap[process.platform]);
|
expect(platform).toEqual(platformMap[process.platform]);
|
||||||
|
|||||||
Reference in New Issue
Block a user