From 5903cbbd8aa37e830f68826b9416e3f3bcec34cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Hodierne?= Date: Wed, 29 Nov 2023 08:55:23 +0100 Subject: [PATCH] add size --- test/server/badge.routes.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/server/badge.routes.test.js b/test/server/badge.routes.test.js index a920d029..76cf85a3 100644 --- a/test/server/badge.routes.test.js +++ b/test/server/badge.routes.test.js @@ -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, );