Skip to content

Commit

Permalink
Merge pull request #757 from IPG-Automotive-UK/bug/TD-2221-No-Metrics…
Browse files Browse the repository at this point in the history
…-in-CardStatus

TD-2221 New status "No Metrics" for Card Status
  • Loading branch information
evoinea authored Oct 17, 2023
2 parents 4b73f88 + bfcfc1c commit 95999ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Status/StatusCard/StatusCard.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe("StatusCard", () => {
expect(nameElement).toBeInTheDocument();
});

test.each(["passed", "failed", "not-run", "pending"] as const)(
test.each(["passed", "failed", "not-run", "pending", "no-metrics"] as const)(
"renders correct icon for %s",
status => {
// render component
Expand Down
2 changes: 1 addition & 1 deletion src/Status/StatusCard/StatusCard.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type StatusCardProps = {
/**
* The status type.
*/
status: "passed" | "failed" | "pending" | "not-run";
status: "passed" | "failed" | "pending" | "not-run" | "no-metrics";
/**
* The status message.
*/
Expand Down

0 comments on commit 95999ba

Please sign in to comment.