From bfcfc1cc32c8a86eff69081f315f01cbf0546d74 Mon Sep 17 00:00:00 2001 From: Matthew Corner Date: Tue, 17 Oct 2023 10:54:04 +0100 Subject: [PATCH] Add new card type to paramterised tests --- src/Status/StatusCard/StatusCard.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Status/StatusCard/StatusCard.test.tsx b/src/Status/StatusCard/StatusCard.test.tsx index f9c97a025..1efd89ea9 100644 --- a/src/Status/StatusCard/StatusCard.test.tsx +++ b/src/Status/StatusCard/StatusCard.test.tsx @@ -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