Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion islands/ReportTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,14 @@ function Result(
return <span class="text-green-500 dark:text-green-400">PASS</span>;
}
if (result[0] === "IGNORE") {
return <span class="text-gray-500 dark:text-gray-400">IGNORE</span>;
const reason = result[2]?.ignoreReason || "(no reason specified)";
return (
<span class="text-gray-500 dark:text-gray-400 relative group">
IGNORE
<span class="text-xs ml-0.5 cursor-help">?</span>
<ErrorTooltip text={reason} />
</span>
);
}
const error = result[1];
if (error) {
Expand Down
1 change: 1 addition & 0 deletions util/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

type SingleResultOption = {
usesNodeTest?: boolean;
ignoreReason?: string;
};

export type SingleResult =
Expand Down
Loading