aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-09 21:34:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-12 10:37:27 +0800
commitd991291f2af50f13110d487e1f354ff374cf7e00 (patch)
tree8cfaa05971feefc89de267f24b401cf7dd3150d3 /packages/contracts/test
parent392fb42973de6a14892827b3b83e5bcf7bccf565 (diff)
downloaddexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.tar
dexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.tar.gz
dexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.tar.bz2
dexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.tar.lz
dexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.tar.xz
dexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.tar.zst
dexon-sol-tools-d991291f2af50f13110d487e1f354ff374cf7e00.zip
Use in-process Ganache in contracts
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/utils/web3_wrapper.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/test/utils/web3_wrapper.ts b/packages/contracts/test/utils/web3_wrapper.ts
index a8fe1532b..74e56d502 100644
--- a/packages/contracts/test/utils/web3_wrapper.ts
+++ b/packages/contracts/test/utils/web3_wrapper.ts
@@ -1,5 +1,6 @@
import { web3Factory } from '@0xproject/dev-utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
-export const web3 = web3Factory.create();
+const web3ProviderConfig = { useInProcessGanache: true };
+export const web3 = web3Factory.create(web3ProviderConfig);
export const web3Wrapper = new Web3Wrapper(web3.currentProvider);