test: bump jest timeout

This commit is contained in:
Michael Vines 2018-10-22 16:18:54 -07:00
parent 9c8cc0bd24
commit aaf86ff2ba
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,12 @@ import {mockRpcEnabled} from './__mocks__/node-fetch';
import {url} from './url';
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 () => {
if (mockRpcEnabled) {
console.log('non-live test skipped');