test: bump jest timeout
This commit is contained in:
@ -9,6 +9,12 @@ import {mockRpcEnabled} from './__mocks__/node-fetch';
|
|||||||
import {url} from './url';
|
import {url} from './url';
|
||||||
import {newAccountWithTokens} from './new-account-with-tokens';
|
import {newAccountWithTokens} from './new-account-with-tokens';
|
||||||
|
|
||||||
|
if (!mockRpcEnabled) {
|
||||||
|
// The default of 5 seconds is too slow for live testing sometimes
|
||||||
|
jest.setTimeout(10000);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
test('load noop program', async () => {
|
test('load noop program', async () => {
|
||||||
if (mockRpcEnabled) {
|
if (mockRpcEnabled) {
|
||||||
console.log('non-live test skipped');
|
console.log('non-live test skipped');
|
||||||
|
Reference in New Issue
Block a user