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