From ef8eebceabb8466129f955c031c0cc00a8dcbb9b Mon Sep 17 00:00:00 2001 From: Marc Velmer Date: Fri, 9 Aug 2024 12:38:25 +0200 Subject: [PATCH] Removed test for election API endpoint that doesn't throw currently when no election is found --- test/api/election.test.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/api/election.test.ts b/test/api/election.test.ts index 07db3f12..b107d79c 100644 --- a/test/api/election.test.ts +++ b/test/api/election.test.ts @@ -66,9 +66,6 @@ describe('Election API tests', () => { await expect(async () => { await ElectionAPI.keys(URL, '0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFdeadbeef'); }).rejects.toThrow(ErrElectionNotFound); - await expect(async () => { - await ElectionAPI.list(URL, { electionId: '0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFdeadbeef' }); - }).rejects.toThrow(ErrElectionNotFound); }, 15000); it('should throw when asking for the keys of an election which is not encrypted', async () => { const voter = Wallet.createRandom();