diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-04 08:50:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-04 08:50:24 +0800 |
commit | 6c02722f56dd37dd4237248e73d070755f86f318 (patch) | |
tree | eaa9cc4ff755a86573a8227c9a0073db3072397d /packages/deployer/test/util/provider.ts | |
parent | 5cfebd2680d9fb103a15381e4c2847934f9f2e42 (diff) | |
download | dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.tar dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.tar.gz dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.tar.bz2 dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.tar.lz dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.tar.xz dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.tar.zst dexon-sol-tools-6c02722f56dd37dd4237248e73d070755f86f318.zip |
Make deployer tests run on inprocess ganache
Diffstat (limited to 'packages/deployer/test/util/provider.ts')
-rw-r--r-- | packages/deployer/test/util/provider.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/deployer/test/util/provider.ts b/packages/deployer/test/util/provider.ts new file mode 100644 index 000000000..bc0f55028 --- /dev/null +++ b/packages/deployer/test/util/provider.ts @@ -0,0 +1,6 @@ +import { web3Factory } from '@0xproject/dev-utils'; +import * as Web3 from 'web3'; + +const web3ProviderConfig = { shouldUseInProcessGanache: true }; +const web3Instance = web3Factory.create(web3ProviderConfig); +export const provider = web3Instance.currentProvider; |