From bfac0210859cc0a6d972c470588f260a4fdb574c Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 25 Aug 2017 14:09:59 +0200 Subject: Use zeroExConfig in tests --- test/ether_token_wrapper_test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3