chore: fix failing getBlockTime integration test (#11825)
This commit is contained in:
@ -1238,7 +1238,7 @@ test('get block time', async () => {
|
|||||||
url,
|
url,
|
||||||
{
|
{
|
||||||
method: 'getBlockTime',
|
method: 'getBlockTime',
|
||||||
params: [1],
|
params: [2],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
error: null,
|
error: null,
|
||||||
@ -1246,7 +1246,7 @@ test('get block time', async () => {
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const blockTime = await connection.getBlockTime(1);
|
const blockTime = await connection.getBlockTime(2);
|
||||||
if (blockTime === null) {
|
if (blockTime === null) {
|
||||||
expect(blockTime).not.toBeNull();
|
expect(blockTime).not.toBeNull();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user