From db3687c7bdb47fe6951d6d34f8af4a7b2322d76e Mon Sep 17 00:00:00 2001 From: Jitender Pal Singh Date: Mon, 13 Jul 2026 16:19:43 +0530 Subject: [PATCH] Improve formatting of test cases --- __tests__/official-installer.test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/__tests__/official-installer.test.ts b/__tests__/official-installer.test.ts index c30a70ce..10fd67be 100644 --- a/__tests__/official-installer.test.ts +++ b/__tests__/official-installer.test.ts @@ -255,7 +255,12 @@ describe('setup-node', () => { return `some/${cmd}/path`; }); getExecOutputSpy.mockImplementation(async (cmd: string) => ({ - stdout: cmd === 'node' ? `v${resolvedVersion}` : cmd === 'npm' ? '11.12.1' : '4.17.1', + stdout: + cmd === 'node' + ? `v${resolvedVersion}` + : cmd === 'npm' + ? '11.12.1' + : '4.17.1', stderr: '', exitCode: 0 }));