Skip to content

Commit

Permalink
add size
Browse files Browse the repository at this point in the history
  • Loading branch information
znarf committed Nov 29, 2023
1 parent 53ff58a commit 5903cbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server/badge.routes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ describe('badge.routes.test.js', () => {
expect(res.headers.get('content-type')).toEqual('image/png');
expect(res.headers.get('cache-control')).toMatch(/public, max-age=[1-9][0-9]{3,7}/);
const text = await res.text();
expect(text.length).toBeGreaterThan(600);
expect(text.length).toBeLessThan(1000);
expect(text.length).toBeGreaterThan(10000);
expect(text.length).toBeLessThan(20000);
},
timeout,
);
Expand Down

0 comments on commit 5903cbb

Please sign in to comment.