aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_registry_wrapper_test.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-15 23:58:08 +0800
committerGitHub <noreply@github.com>2017-06-15 23:58:07 +0800
commit5932ebb52a4421ab56c9b855f29bc26349e2ebd0 (patch)
treeb352d230f64120cc3a8ccab289c91c59e90675cb /test/token_registry_wrapper_test.ts
parent424912040a7e68b6d07cd4ae40763d9bcd98de28 (diff)
parent38170a24eda03884c19610bc094d3855568e3704 (diff)
downloaddexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.tar
dexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.tar.gz
dexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.tar.bz2
dexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.tar.lz
dexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.tar.xz
dexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.tar.zst
dexon-sol-tools-5932ebb52a4421ab56c9b855f29bc26349e2ebd0.zip
Merge pull request #67 from 0xProject/web3-provider
Make ZeroEx constructor accept Web3Provider instead of Web3 instance
Diffstat (limited to 'test/token_registry_wrapper_test.ts')
-rw-r--r--test/token_registry_wrapper_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/token_registry_wrapper_test.ts b/test/token_registry_wrapper_test.ts
index 158a02596..da436161c 100644
--- a/test/token_registry_wrapper_test.ts
+++ b/test/token_registry_wrapper_test.ts
@@ -18,7 +18,7 @@ describe('TokenRegistryWrapper', () => {
let zeroEx: ZeroEx;
before(async () => {
const web3 = web3Factory.create();
- zeroEx = new ZeroEx(web3);
+ zeroEx = new ZeroEx(web3.currentProvider);
});
beforeEach(async () => {
await blockchainLifecycle.startAsync();