diff options
Diffstat (limited to 'packages/0x.js/test/token_registry_wrapper_test.ts')
-rw-r--r-- | packages/0x.js/test/token_registry_wrapper_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/test/token_registry_wrapper_test.ts b/packages/0x.js/test/token_registry_wrapper_test.ts index fefb99b16..d7ffd49f7 100644 --- a/packages/0x.js/test/token_registry_wrapper_test.ts +++ b/packages/0x.js/test/token_registry_wrapper_test.ts @@ -11,7 +11,8 @@ import { constants } from './utils/constants'; chaiSetup.configure(); const expect = chai.expect; -const blockchainLifecycle = new BlockchainLifecycle(); +const web3 = web3Factory.create(); +const blockchainLifecycle = new BlockchainLifecycle(web3); const TOKEN_REGISTRY_SIZE_AFTER_MIGRATION = 7; @@ -30,7 +31,6 @@ describe('TokenRegistryWrapper', () => { networkId: constants.TESTRPC_NETWORK_ID, }; before(async () => { - const web3 = web3Factory.create(); zeroEx = new ZeroEx(web3.currentProvider, config); tokens = await zeroEx.tokenRegistry.getTokensAsync(); _.map(tokens, token => { |