This commit is contained in:
Nikolai Laevskii 2023-09-08 15:30:07 +02:00
parent 4b20cd3fb1
commit ff40a49913

View File

@ -162,9 +162,7 @@ describe('installer tests', () => {
const scriptArguments = (
getExecOutputSpy.mock.calls[callIndex][1] as string[]
).join(' ');
const expectedArgument = IS_WINDOWS
? `-Runtime`
: `--runtime`;
const expectedArgument = IS_WINDOWS ? `-Runtime` : `--runtime`;
expect(scriptArguments).toContain(expectedArgument);
});