From 355dc56db0a17c678558c5ba9ad8d1b6fea90af1 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 14 Oct 2024 17:22:06 -0700 Subject: [PATCH] scripts/runner.node.mjs: print list of failing tests when run locally (#14571) --- scripts/runner.node.mjs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/runner.node.mjs b/scripts/runner.node.mjs index f91996381f..2d44f3f51c 100755 --- a/scripts/runner.node.mjs +++ b/scripts/runner.node.mjs @@ -233,8 +233,13 @@ async function runTests() { reportOutputToGitHubAction("failing_tests", markdown); } - if (!isCI) console.log("-------"); - if (!isCI) console.log("passing", results.length - failedTests.length, "/", results.length); + if (!isCI) { + console.log("-------"); + console.log("passing", results.length - failedTests.length, "/", results.length); + for (const { testPath } of failedTests) { + console.log("-", testPath); + } + } return results; }