fix: getVoteAccounts live test

This commit is contained in:
Tyera Eulberg 2019-09-26 16:00:54 -06:00 committed by Michael Vines
parent 19f4cf10bb
commit 3b337c5f56
1 changed files with 3 additions and 1 deletions

View File

@ -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 () => {