We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3369ea commit be31c47Copy full SHA for be31c47
1 file changed
app/api/streak/route.test.ts
@@ -943,7 +943,11 @@ describe('GET /api/streak', () => {
943
expect(body.details).not.toBeNull();
944
});
945
946
+ it('returns 400 when an invalid hex color is passed as bg', async () => {
947
+ const response = await GET(makeRequest({ user: 'octocat', bg: '#ZZZZZZ' }));
948
949
+ expect(response.status).toBe(400);
950
+ });
951
describe('hide parameters', () => {
952
it('removes the username title when hide_title=true', async () => {
953
const response = await GET(makeRequest({ user: 'octocat', hide_title: 'true' }));
0 commit comments