aboutsummaryrefslogtreecommitdiffstats
path: root/test/token_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-15 23:05:03 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-15 23:05:03 +0800
commitd789aa24aa2c9f4e0d17a382fe9cb8d56ab27957 (patch)
treed93f79ec7909c1808ddfe7a145df41d2c104a553 /test/token_wrapper_test.ts
parent424912040a7e68b6d07cd4ae40763d9bcd98de28 (diff)
downloaddexon-0x-contracts-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.gz
dexon-0x-contracts-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.tar.zst
dexon-0x-contracts-d789aa24aa2c9f4e0d17a382fe9cb8d56ab27957.zip
Make ZeroEx constructor accept Web3Provider instead of Web3 instance
Diffstat (limited to 'test/token_wrapper_test.ts')
-rw-r--r--test/token_wrapper_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/token_wrapper_test.ts b/test/token_wrapper_test.ts
index 308d3b634..a1c035672 100644
--- a/test/token_wrapper_test.ts
+++ b/test/token_wrapper_test.ts
@@ -21,7 +21,7 @@ describe('TokenWrapper', () => {
let addressWithoutFunds: string;
before(async () => {
web3 = web3Factory.create();
- zeroEx = new ZeroEx(web3);
+ zeroEx = new ZeroEx(web3.currentProvider);
userAddresses = await promisify(web3.eth.getAccounts)();
tokens = await zeroEx.tokenRegistry.getTokensAsync();
coinbase = userAddresses[0];