Skip to content

Commit ab0b44d

Browse files
authored
test(streak route): verify SVG viewBox output (JhaSourav07#1953)
2 parents 676248b + c9b8a76 commit ab0b44d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/api/streak/route.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ describe('GET /api/streak', () => {
235235
const body = await response.text();
236236

237237
expect(body).toContain('<svg');
238+
expect(body).toContain('viewBox');
239+
expect(body).toContain('xmlns="http://www.w3.org/2000/svg"');
238240
expect(body).toContain('</svg>');
239241
});
240242

0 commit comments

Comments
 (0)