fix: getVoteAccounts live test
This commit is contained in:
committed by
Michael Vines
parent
19f4cf10bb
commit
3b337c5f56
@ -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 () => {
|
||||
|
Reference in New Issue
Block a user