summaryrefslogtreecommitdiff
path: root/cli/tools/test.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-04-06 17:48:07 -0400
committerGitHub <noreply@github.com>2023-04-06 23:48:07 +0200
commit1586c52b5b5ad511ec0bf896e94de8585f743cf8 (patch)
tree72ec6b9c136d100b68fb333f082d028d24d09f5e /cli/tools/test.rs
parentdf72420d723affb780c0c388b7d704985288f801 (diff)
chore: fix flaky tests checking ms when CI is slow (#18559)
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r--cli/tools/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs
index 28364050e..fa9798779 100644
--- a/cli/tools/test.rs
+++ b/cli/tools/test.rs
@@ -650,6 +650,7 @@ impl PrettyTestReporter {
failures_by_origin.entry(origin.clone()).or_default();
let _ = uncaught_error.insert(js_error.as_ref());
}
+ // note: the trailing whitespace is intentional to get a red background
println!("\n{}\n", colors::white_bold_on_red(" ERRORS "));
for (origin, (failures, uncaught_error)) in failures_by_origin {
for (description, failure) in failures {
@@ -678,6 +679,7 @@ impl PrettyTestReporter {
failure_titles.push(failure_title);
}
}
+ // note: the trailing whitespace is intentional to get a red background
println!("{}\n", colors::white_bold_on_red(" FAILURES "));
for failure_title in failure_titles {
println!("{failure_title}");