mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-18 14:45:09 +00:00
Fix typo in the unit-test
This commit is contained in:
parent
92ff81074f
commit
12c47bed3c
@ -64,7 +64,7 @@ describe('setup-dotnet tests', () => {
|
|||||||
}
|
}
|
||||||
}, 400000);
|
}, 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'];
|
const versions = ['3.1.201', '6.0.401'];
|
||||||
|
|
||||||
getMultilineInputSpy.mockImplementation(() => {
|
getMultilineInputSpy.mockImplementation(() => {
|
||||||
@ -73,6 +73,6 @@ describe('setup-dotnet tests', () => {
|
|||||||
|
|
||||||
await setup.run();
|
await setup.run();
|
||||||
|
|
||||||
expect(setOutputSpy).toBeCalledWith('dotnet-version', '3.1.201');
|
expect(setOutputSpy).toBeCalledWith('dotnet-version', '6.0.401');
|
||||||
}, 400000);
|
}, 400000);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user