aboutsummaryrefslogtreecommitdiffstats
path: root/test/ether_token_wrapper_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/ether_token_wrapper_test.ts')
-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();