aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-25 20:09:59 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-29 16:01:53 +0800
commitbfac0210859cc0a6d972c470588f260a4fdb574c (patch)
treed5efbe0a1d4d2c1f11d87e511e09beeac2779882 /test
parenta19b40b051f5d2a21c5b437ea450d81422e99d64 (diff)
downloaddexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.tar
dexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.gz
dexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.bz2
dexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.lz
dexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.xz
dexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.tar.zst
dexon-sol-tools-bfac0210859cc0a6d972c470588f260a4fdb574c.zip
Use zeroExConfig in tests
Diffstat (limited to 'test')
-rw-r--r--test/ether_token_wrapper_test.ts5
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();