Refactor networkId out of web3Wrapper

This commit is contained in:
Leonid Logvinov
2017-12-08 12:51:46 +03:00
parent 5401c69163
commit b362e2c28e
12 changed files with 39 additions and 31 deletions

View File

@@ -60,7 +60,7 @@ describe('EventWatcher', () => {
before(async () => {
web3 = web3Factory.create();
const pollingIntervalMs = 10;
web3Wrapper = new Web3Wrapper(web3.currentProvider, constants.TESTRPC_NETWORK_ID);
web3Wrapper = new Web3Wrapper(web3.currentProvider);
eventWatcher = new EventWatcher(web3Wrapper, pollingIntervalMs);
});
afterEach(() => {