You've already forked setup-dotnet
mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-07-10 00:50:33 +07:00
Format
This commit is contained in:
@ -162,9 +162,7 @@ describe('installer tests', () => {
|
|||||||
const scriptArguments = (
|
const scriptArguments = (
|
||||||
getExecOutputSpy.mock.calls[callIndex][1] as string[]
|
getExecOutputSpy.mock.calls[callIndex][1] as string[]
|
||||||
).join(' ');
|
).join(' ');
|
||||||
const expectedArgument = IS_WINDOWS
|
const expectedArgument = IS_WINDOWS ? `-Runtime` : `--runtime`;
|
||||||
? `-Runtime`
|
|
||||||
: `--runtime`;
|
|
||||||
|
|
||||||
expect(scriptArguments).toContain(expectedArgument);
|
expect(scriptArguments).toContain(expectedArgument);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user