From bc311ae5b96068cc25a6fc4ada0b40b88bb07a7d Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Thu, 16 Jan 2025 21:33:32 +0300 Subject: [PATCH] Update edit.test.ts --- tests/commands/channels/edit.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/commands/channels/edit.test.ts b/tests/commands/channels/edit.test.ts index 564bdbe8..a6e33c26 100644 --- a/tests/commands/channels/edit.test.ts +++ b/tests/commands/channels/edit.test.ts @@ -27,8 +27,9 @@ describe('channels:edit', () => { try { const stdout = execSync(cmd, { encoding: 'utf8' }) if (process.env.DEBUG === 'true') console.log(cmd, stdout) - checkStdout(stdout) // NOTE: for Windows only + checkStdout(stdout) } catch (error) { + // NOTE: for Windows only if (process.env.DEBUG === 'true') console.log(cmd, error) checkStdout((error as ExecError).stdout) expect(content('tests/__data__/output/channels.xml')).toEqual(