diff --git a/islands/ReportTable.tsx b/islands/ReportTable.tsx index 99ae30e..20f2da1 100644 --- a/islands/ReportTable.tsx +++ b/islands/ReportTable.tsx @@ -359,7 +359,14 @@ function Result( return PASS; } if (result[0] === "IGNORE") { - return IGNORE; + const reason = result[2]?.ignoreReason || "(no reason specified)"; + return ( + + IGNORE + ? + + + ); } const error = result[1]; if (error) { diff --git a/util/types.ts b/util/types.ts index bfd8c5b..d1c188a 100644 --- a/util/types.ts +++ b/util/types.ts @@ -2,6 +2,7 @@ type SingleResultOption = { usesNodeTest?: boolean; + ignoreReason?: string; }; export type SingleResult =