Skip to content

Commit 7683023

Browse files
committed
test(pr): restore main StatsCard test file for PR JhaSourav07#2219
1 parent cb85147 commit 7683023

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

components/dashboard/StatsCard.test.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,4 @@ describe('StatsCard', () => {
119119

120120
expect(screen.getByTestId('icon-flame')).toBeDefined();
121121
});
122-
123-
it('renders a clean info symbol in the UTC disclaimer without mojibake text', () => {
124-
const { container } = render(
125-
<StatsCard
126-
title="Current Streak"
127-
value="12"
128-
description="Consecutive contribution days"
129-
icon="Flame"
130-
showUTCDisclaimer={true}
131-
utcDate="2026-06-01"
132-
/>
133-
);
134-
135-
expect(container.textContent).toContain('\u2139');
136-
expect(container.textContent).not.toContain('\u00E2\u20AC\u2039');
137-
});
138122
});

0 commit comments

Comments
 (0)