This commit is contained in:
@@ -36,7 +36,7 @@ describe('GET /badge', () => {
|
||||
expect(res.headers['content-type']).toMatch(/image\/svg\+xml/);
|
||||
expect(body).toContain('<svg');
|
||||
expect(body).toContain('<rect');
|
||||
});
|
||||
}, 20000);
|
||||
|
||||
it('should use custom icon and label', async () => {
|
||||
const res = await request(createApp()).get('/badge?icon=github&label=GitHub');
|
||||
|
||||
Reference in New Issue
Block a user