From a50435021df80ce16da3c8f922359de96b4c3513 Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Fri, 29 Mar 2024 00:16:16 +0530 Subject: [PATCH] fix: parseInt won't parse 15e3 (#251) --- test/e2e/votesReport.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/votesReport.test.ts b/test/e2e/votesReport.test.ts index e3fcf8a..b38f97a 100644 --- a/test/e2e/votesReport.test.ts +++ b/test/e2e/votesReport.test.ts @@ -41,7 +41,7 @@ describe('GET /api/votes/:id', () => { const votesReport = new VotesReport(id, storage); expect(typeof (await votesReport.getCache())).not.toBe(false); - await sleep(parseInt(process.env.QUEUE_INTERVAL || '15e3')); + await sleep(parseInt(process.env.QUEUE_INTERVAL || '15000')); }); });