diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-25 20:09:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-29 16:01:53 +0800 |
commit | bfac0210859cc0a6d972c470588f260a4fdb574c (patch) | |
tree | d5efbe0a1d4d2c1f11d87e511e09beeac2779882 /test/ether_token_wrapper_test.ts | |
parent | a19b40b051f5d2a21c5b437ea450d81422e99d64 (diff) | |
download | dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.tar dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.gz dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.bz2 dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.lz dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.xz dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.zst dexon-0x-contracts-bfac0210859cc0a6d972c470588f260a4fdb574c.zip |
Use zeroExConfig in tests
Diffstat (limited to 'test/ether_token_wrapper_test.ts')
-rw-r--r-- | test/ether_token_wrapper_test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ether_token_wrapper_test.ts b/test/ether_token_wrapper_test.ts index e93bab02c..b40061a41 100644 --- a/test/ether_token_wrapper_test.ts +++ b/test/ether_token_wrapper_test.ts @@ -27,9 +27,12 @@ describe('EtherTokenWrapper', () => { let depositWeiAmount: BigNumber.BigNumber; let decimalPlaces: number; const gasPrice = new BigNumber(1); + const zeroExConfig = { + gasPrice, + }; before(async () => { web3 = web3Factory.create(); - zeroEx = new ZeroEx(web3.currentProvider, gasPrice); + zeroEx = new ZeroEx(web3.currentProvider, zeroExConfig); userAddresses = await promisify(web3.eth.getAccounts)(); addressWithETH = userAddresses[0]; wethContractAddress = await zeroEx.etherToken.getContractAddressAsync(); |