aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/test/utils
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-13 21:41:46 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-13 21:41:46 +0800
commita0791455e11022d16dbffba9b7080010a05d6522 (patch)
tree22bf9b0712aa44721cceab267fa3bd5166b0af63 /packages/0x.js/test/utils
parentefb0ee4c02e3a8048ae2395158f11dced8c5f90e (diff)
downloaddexon-0x-contracts-a0791455e11022d16dbffba9b7080010a05d6522.tar.gz
dexon-0x-contracts-a0791455e11022d16dbffba9b7080010a05d6522.tar.zst
dexon-0x-contracts-a0791455e11022d16dbffba9b7080010a05d6522.zip
Add forgotten file
Diffstat (limited to 'packages/0x.js/test/utils')
-rw-r--r--packages/0x.js/test/utils/web3_wrapper.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/0x.js/test/utils/web3_wrapper.ts b/packages/0x.js/test/utils/web3_wrapper.ts
new file mode 100644
index 000000000..4b374fc7e
--- /dev/null
+++ b/packages/0x.js/test/utils/web3_wrapper.ts
@@ -0,0 +1,6 @@
+import { web3Factory } from '@0xproject/dev-utils';
+import { Web3Wrapper } from '@0xproject/web3-wrapper';
+import * as Web3 from 'web3';
+
+export const web3 = web3Factory.create();
+export const web3Wrapper = new Web3Wrapper(web3.currentProvider);