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();