From 8fdd74392a769754290104e40972e73aa6f246c6 Mon Sep 17 00:00:00 2001 From: MeridianAlgo Date: Mon, 4 May 2026 20:00:59 -0500 Subject: [PATCH] Apply suggested fix to tests/run_all_deep_tests.ts from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- tests/run_all_deep_tests.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/run_all_deep_tests.ts b/tests/run_all_deep_tests.ts index 819f423..76f9352 100644 --- a/tests/run_all_deep_tests.ts +++ b/tests/run_all_deep_tests.ts @@ -16,11 +16,16 @@ async function main() { for (const file of files) { process.stdout.write(`🏃 Running ${file}... `); try { - execSync(`npx ts-node tests/${file}`, { stdio: 'ignore' }); + execSync(`npx ts-node tests/${file}`, { encoding: 'utf8' }); console.log('✅ PASSED'); passed++; } catch (err) { console.log('❌ FAILED'); + const execErr = err as { stderr?: string | Buffer; stdout?: string | Buffer; message?: string }; + const stderrOutput = execErr.stderr ? execErr.stderr.toString().trim() : ''; + const stdoutOutput = execErr.stdout ? execErr.stdout.toString().trim() : ''; + const details = stderrOutput || stdoutOutput || execErr.message || 'No error details available.'; + console.log(details); failed++; } }