scripts/runner.node.mjs: print list of failing tests when run locally (#14571)

This commit is contained in:
Meghan Denny
2024-10-14 17:22:06 -07:00
committed by GitHub
parent 5fc53353fb
commit 355dc56db0

View File

@@ -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;
}