From 12c47bed3ca8e9bb0be8d7aca14dd3d44b5c5be0 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Wed, 28 Sep 2022 11:11:10 +0200 Subject: [PATCH] Fix typo in the unit-test --- __tests__/setup-dotnet.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/setup-dotnet.test.ts b/__tests__/setup-dotnet.test.ts index ac99415..ac79950 100644 --- a/__tests__/setup-dotnet.test.ts +++ b/__tests__/setup-dotnet.test.ts @@ -64,7 +64,7 @@ describe('setup-dotnet tests', () => { } }, 400000); - it('Sets output with the installed version', async () => { + it('Sets output with the latest installed by action version', async () => { const versions = ['3.1.201', '6.0.401']; getMultilineInputSpy.mockImplementation(() => { @@ -73,6 +73,6 @@ describe('setup-dotnet tests', () => { await setup.run(); - expect(setOutputSpy).toBeCalledWith('dotnet-version', '3.1.201'); + expect(setOutputSpy).toBeCalledWith('dotnet-version', '6.0.401'); }, 400000); });