test: bump jest timeout
This commit is contained in:
parent
9c8cc0bd24
commit
aaf86ff2ba
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue