From b50a1c9fbffc88349c66c56ab367a35750f9fafd Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Wed, 17 May 2023 14:14:15 +0200 Subject: [PATCH] Format and lint unit tests --- __tests__/installer.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 654e4c0..f92f74a 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -25,9 +25,8 @@ describe('installer tests', () => { const maxSatisfyingSpy = jest.spyOn(semver, 'maxSatisfying'); const chmodSyncSpy = jest.spyOn(fs, 'chmodSync'); const readdirSpy = jest.spyOn(fspromises, 'readdir'); - - describe('installDotnet() tests', () => { + describe('installDotnet() tests', () => { beforeAll(() => { whichSpy.mockImplementation(() => Promise.resolve('PathToShell')); chmodSyncSpy.mockImplementation(() => {}); @@ -42,7 +41,7 @@ describe('installer tests', () => { const inputVersion = '3.1.100'; const inputQuality = '' as QualityOptions; const errorMessage = 'fictitious error message!'; - + getExecOutputSpy.mockImplementation(() => { return Promise.resolve({ exitCode: 1, @@ -51,7 +50,6 @@ describe('installer tests', () => { }); }); - const dotnetInstaller = new installer.DotnetCoreInstaller( inputVersion, inputQuality