From aaf86ff2bace674f3f8f25bdfea8b4ccb1fc2338 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 22 Oct 2018 16:18:54 -0700 Subject: [PATCH] test: bump jest timeout --- web3.js/test/native-loader.test.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web3.js/test/native-loader.test.js b/web3.js/test/native-loader.test.js index 4f1e067be1..552433417e 100644 --- a/web3.js/test/native-loader.test.js +++ b/web3.js/test/native-loader.test.js @@ -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');