diff --git a/web3.js/test/connection.test.js b/web3.js/test/connection.test.js index d710137db8..ec3898be21 100644 --- a/web3.js/test/connection.test.js +++ b/web3.js/test/connection.test.js @@ -255,7 +255,9 @@ test('getVoteAccounts', async () => { const connection = new Connection(url); const voteAccounts = await connection.getVoteAccounts(); - expect(voteAccounts.current.length).toBeGreaterThan(0); + expect( + voteAccounts.current.concat(voteAccounts.delinquent).length, + ).toBeGreaterThan(0); }); test('confirm transaction - error', async () => {