update failed test, increase timeout
Node.js CI / build (push) Successful in 5m28s

This commit is contained in:
2026-07-21 12:51:41 +02:00
parent 3b7cc2e993
commit 2104680c4e
+1 -1
View File
@@ -36,7 +36,7 @@ describe('GET /badge', () => {
expect(res.headers['content-type']).toMatch(/image\/svg\+xml/); expect(res.headers['content-type']).toMatch(/image\/svg\+xml/);
expect(body).toContain('<svg'); expect(body).toContain('<svg');
expect(body).toContain('<rect'); expect(body).toContain('<rect');
}); }, 20000);
it('should use custom icon and label', async () => { it('should use custom icon and label', async () => {
const res = await request(createApp()).get('/badge?icon=github&label=GitHub'); const res = await request(createApp()).get('/badge?icon=github&label=GitHub');