aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-06 14:03:14 +0800
committerFabio Berger <me@fabioberger.com>2018-04-06 14:03:14 +0800
commit24454938e51e40ae74809f15bd1f612c69c218ec (patch)
tree706a1a738d3e0a172c62343c0dfb5bad39163d9f /packages/contracts/test
parent89a72ebf0dbff606d511ae51bfee7ffc0a5df18f (diff)
downloaddexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.tar
dexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.tar.gz
dexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.tar.bz2
dexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.tar.lz
dexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.tar.xz
dexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.tar.zst
dexon-sol-tools-24454938e51e40ae74809f15bd1f612c69c218ec.zip
Move away from using web3 directly in 0x.js tests
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/utils/web3_wrapper.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/contracts/test/utils/web3_wrapper.ts b/packages/contracts/test/utils/web3_wrapper.ts
index 1a711dad2..bc4e1cfd8 100644
--- a/packages/contracts/test/utils/web3_wrapper.ts
+++ b/packages/contracts/test/utils/web3_wrapper.ts
@@ -1,7 +1,8 @@
import { web3Factory } from '@0xproject/dev-utils';
+import { Provider } from '@0xproject/types';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
-const web3ProviderConfig = { shouldUseInProcessGanache: true };
-export const web3 = web3Factory.create(web3ProviderConfig);
-export const provider = web3.currentProvider;
+const providerConfigs = { shouldUseInProcessGanache: true };
+export const web3 = web3Factory.create(providerConfigs);
+export const provider: Provider = web3.currentProvider;
export const web3Wrapper = new Web3Wrapper(provider);