aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-04 10:35:58 +0800
committerFabio Berger <me@fabioberger.com>2018-04-04 10:35:58 +0800
commit5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a (patch)
treec6894bbd970482b111498827464f3930e501c212 /packages/dev-utils/test
parent6c02722f56dd37dd4237248e73d070755f86f318 (diff)
downloaddexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.tar
dexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.tar.gz
dexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.tar.bz2
dexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.tar.lz
dexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.tar.xz
dexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.tar.zst
dexon-sol-tools-5e4e27fed5b9b7c889e6e6e1805377b9eff31a3a.zip
Update dev-utils and subproviders tests to use ganache in-process provider
Diffstat (limited to 'packages/dev-utils/test')
-rw-r--r--packages/dev-utils/test/blockchain_lifecycle_test.ts2
-rw-r--r--packages/dev-utils/test/rpc_test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/dev-utils/test/blockchain_lifecycle_test.ts b/packages/dev-utils/test/blockchain_lifecycle_test.ts
index 5ed67e012..077f6f2f1 100644
--- a/packages/dev-utils/test/blockchain_lifecycle_test.ts
+++ b/packages/dev-utils/test/blockchain_lifecycle_test.ts
@@ -8,7 +8,7 @@ import { BlockchainLifecycle, web3Factory } from '../src';
const expect = chai.expect;
describe('BlockchainLifecycle tests', () => {
- const web3Provider = web3Factory.getRpcProvider();
+ const web3Provider = web3Factory.getRpcProvider({ shouldUseInProcessGanache: true });
const web3Wrapper = new Web3Wrapper(web3Provider);
const blockchainLifecycle = new BlockchainLifecycle(web3Wrapper);
describe('#startAsync/revertAsync', () => {
diff --git a/packages/dev-utils/test/rpc_test.ts b/packages/dev-utils/test/rpc_test.ts
index 1bdea3613..233d8035e 100644
--- a/packages/dev-utils/test/rpc_test.ts
+++ b/packages/dev-utils/test/rpc_test.ts
@@ -8,7 +8,7 @@ import { web3Factory } from '../src';
const expect = chai.expect;
describe('RPC tests', () => {
- const web3Provider = web3Factory.getRpcProvider();
+ const web3Provider = web3Factory.getRpcProvider({ shouldUseInProcessGanache: true });
const web3Wrapper = new Web3Wrapper(web3Provider);
describe('#mineBlockAsync', () => {
it('increases block number when called', async () => {