Skip to content
Merged
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
6 changes: 3 additions & 3 deletions code/addons/vitest/src/components/TestProviderRender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ export const TestProviderRender: FC<TestProviderRenderProps> = ({
});
}}
>
<TestStatusIcon status={componentTestStatusIcon} isRunning={isRunning} />
{componentTestStatusValueToStoryIds['status-value:error'].length +
componentTestStatusValueToStoryIds['status-value:warning'].length || null}
<TestStatusIcon status={componentTestStatusIcon} isRunning={isRunning} />
</ActionList.Button>
</ActionList.Item>

Expand Down Expand Up @@ -343,12 +343,12 @@ export const TestProviderRender: FC<TestProviderRenderProps> = ({
}
>
<a href="/coverage/index.html" target="_blank">
{currentRun.coverageSummary.percentage}%
<TestStatusIcon
isRunning={isRunning}
percentage={currentRun.coverageSummary.percentage}
status={currentRun.coverageSummary.status}
/>
{currentRun.coverageSummary.percentage}%
</a>
</ActionList.Button>
) : (
Expand Down Expand Up @@ -412,9 +412,9 @@ export const TestProviderRender: FC<TestProviderRenderProps> = ({
});
}}
>
<TestStatusIcon status={a11yStatusIcon} isRunning={isRunning} />
{a11yStatusValueToStoryIds['status-value:error'].length +
a11yStatusValueToStoryIds['status-value:warning'].length || null}
<TestStatusIcon status={a11yStatusIcon} isRunning={isRunning} />
</ActionList.Button>
</ActionList.Item>
)}
Expand Down
Loading