We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c969f6 commit ac5eb79Copy full SHA for ac5eb79
1 file changed
lib/svg/generator.test.ts
@@ -266,11 +266,15 @@ describe('generateSVG', () => {
266
267
it('includes desc element in auto-theme SVG output', () => {
268
const svg = generateSVG(mockStats, autoParams, mockCalendar);
269
-
270
expect(svg).toContain('<desc>');
271
expect(svg).toContain(String(mockStats.totalContributions));
272
});
273
+ it('includes role="img" in auto-theme SVG output', () => {
274
+ const svg = generateSVG(mockStats, autoParams, mockCalendar);
275
+ expect(svg).toContain('role="img"');
276
+ });
277
+
278
it('generates heat particles with CSS class instead of inline fill', () => {
279
280
0 commit comments