Skip to content

Commit c9b8a76

Browse files
committed
test(streak route): verify SVG viewBox output
1 parent 0e9b7a6 commit c9b8a76

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)