Skip to content

Commit

Permalink
fix: parseInt won't parse 15e3
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Mar 27, 2024
1 parent 61a39b5 commit 14d53d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/votesReport.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
});

Expand Down

0 comments on commit 14d53d8

Please sign in to comment.