aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-06 14:04:17 +0800
committerFabio Berger <me@fabioberger.com>2018-04-06 14:04:17 +0800
commit75a51af00603236e0b80fe04336494944a32739c (patch)
treeb5e605911321cfc148f5eedec842fbe2c6bd0672 /packages/subproviders/test
parent24454938e51e40ae74809f15bd1f612c69c218ec (diff)
downloaddexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar
dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.gz
dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.bz2
dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.lz
dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.xz
dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.tar.zst
dexon-sol-tools-75a51af00603236e0b80fe04336494944a32739c.zip
Use provider over web3 in deployer, dev-utils and subprovider tests, rename subprovider to ganacheSubprovider in test util
Diffstat (limited to 'packages/subproviders/test')
-rw-r--r--packages/subproviders/test/unit/ledger_subprovider_test.ts2
-rw-r--r--packages/subproviders/test/unit/redundant_rpc_subprovider_test.ts2
-rw-r--r--packages/subproviders/test/utils/ganache_subprovider.ts (renamed from packages/subproviders/test/utils/subprovider.ts)2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/subproviders/test/unit/ledger_subprovider_test.ts b/packages/subproviders/test/unit/ledger_subprovider_test.ts
index a3800434a..d30c68f65 100644
--- a/packages/subproviders/test/unit/ledger_subprovider_test.ts
+++ b/packages/subproviders/test/unit/ledger_subprovider_test.ts
@@ -8,8 +8,8 @@ import Web3ProviderEngine = require('web3-provider-engine');
import { LedgerSubprovider } from '../../src';
import { DoneCallback, LedgerCommunicationClient, LedgerSubproviderErrors } from '../../src/types';
import { chaiSetup } from '../chai_setup';
+import { ganacheSubprovider } from '../utils/ganache_subprovider';
import { reportCallbackErrors } from '../utils/report_callback_errors';
-import { subprovider as ganacheSubprovider } from '../utils/subprovider';
chaiSetup.configure();
const expect = chai.expect;
diff --git a/packages/subproviders/test/unit/redundant_rpc_subprovider_test.ts b/packages/subproviders/test/unit/redundant_rpc_subprovider_test.ts
index ab540e202..e7ca6d496 100644
--- a/packages/subproviders/test/unit/redundant_rpc_subprovider_test.ts
+++ b/packages/subproviders/test/unit/redundant_rpc_subprovider_test.ts
@@ -8,8 +8,8 @@ import RpcSubprovider = require('web3-provider-engine/subproviders/rpc');
import { RedundantRPCSubprovider } from '../../src';
import { DoneCallback } from '../../src/types';
import { chaiSetup } from '../chai_setup';
+import { ganacheSubprovider } from '../utils/ganache_subprovider';
import { reportCallbackErrors } from '../utils/report_callback_errors';
-import { subprovider as ganacheSubprovider } from '../utils/subprovider';
const expect = chai.expect;
chaiSetup.configure();
diff --git a/packages/subproviders/test/utils/subprovider.ts b/packages/subproviders/test/utils/ganache_subprovider.ts
index b1c459746..ac4a9325c 100644
--- a/packages/subproviders/test/utils/subprovider.ts
+++ b/packages/subproviders/test/utils/ganache_subprovider.ts
@@ -9,7 +9,7 @@ const logger = {
},
};
-export const subprovider = new GanacheSubprovider({
+export const ganacheSubprovider = new GanacheSubprovider({
logger,
verbose: false,
port: configs.port,