From 14d53d8c337d547766873633b37b30a549f34d84 Mon Sep 17 00:00:00 2001 From: ChaituVR Date: Wed, 27 Mar 2024 16:22:14 +0530 Subject: [PATCH] fix: parseInt won't parse 15e3 --- 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')); }); });