We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92ef1bc + ac5eb79 commit 7f83457Copy full SHA for 7f83457
1 file changed
lib/svg/generator.test.ts
@@ -290,11 +290,15 @@ describe('generateSVG', () => {
290
291
it('includes desc element in auto-theme SVG output', () => {
292
const svg = generateSVG(mockStats, autoParams, mockCalendar);
293
-
294
expect(svg).toContain('<desc>');
295
expect(svg).toContain(String(mockStats.totalContributions));
296
});
297
+ it('includes role="img" in auto-theme SVG output', () => {
298
+ const svg = generateSVG(mockStats, autoParams, mockCalendar);
299
+ expect(svg).toContain('role="img"');
300
+ });
301
+
302
it('generates heat particles with CSS class instead of inline fill', () => {
303
304
0 commit comments