Determine real-time HTTP connected status (#3335)

* Determine real-time HTTP connected status

* Update failing tests, no polluting polling
This commit is contained in:
Jaco Greeff
2016-11-11 09:01:28 +01:00
committed by Gav Wood
parent 7cc88b175f
commit c7b99cd7e6
11 changed files with 27 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ import { TEST_HTTP_URL, mockHttp } from '../../../../test/mockRpc';
import Http from '../../transport/http';
import Web3 from './web3';
const instance = new Web3(new Http(TEST_HTTP_URL));
const instance = new Web3(new Http(TEST_HTTP_URL, -1));
describe('api/rpc/Web3', () => {
let scope;