diff --git a/code/addons/test/src/components/TestProviderRender.tsx b/code/addons/test/src/components/TestProviderRender.tsx index 0c1185ab6f2a..3590672fb63b 100644 --- a/code/addons/test/src/components/TestProviderRender.tsx +++ b/code/addons/test/src/components/TestProviderRender.tsx @@ -314,7 +314,7 @@ export const TestProviderRender: FC< aria-label={`status: ${coverageSummary.status}`} /> } - right={`${coverageSummary.percentage}%`} + right={coverageSummary.percentage ?? `${coverageSummary.percentage}%`} /> ) : (