diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/utils/web3_factory.ts | 6 | ||||
-rw-r--r-- | test/web3_beta_test.ts | 16 |
2 files changed, 0 insertions, 22 deletions
diff --git a/test/utils/web3_factory.ts b/test/utils/web3_factory.ts index 4785fa858..b20070c74 100644 --- a/test/utils/web3_factory.ts +++ b/test/utils/web3_factory.ts @@ -6,7 +6,6 @@ import ProviderEngine = require('web3-provider-engine'); import RpcSubprovider = require('web3-provider-engine/subproviders/rpc'); import * as Web3 from 'web3'; -import * as Web3_beta from 'web3_beta'; import {constants} from './constants'; import {EmptyWalletSubProvider} from '../../src/subproviders/empty_wallet_subprovider'; @@ -29,9 +28,4 @@ export const web3Factory = { provider.start(); return provider; }, - getProviderBeta(): Web3.Provider { - const rpcUrl = `http://${constants.RPC_HOST}:${constants.RPC_PORT}`; - const providerBeta = new Web3_beta.providers.HttpProvider(rpcUrl); - return providerBeta; - }, }; diff --git a/test/web3_beta_test.ts b/test/web3_beta_test.ts deleted file mode 100644 index e34812243..000000000 --- a/test/web3_beta_test.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as chai from 'chai'; -import {chaiSetup} from './utils/chai_setup'; -import 'mocha'; -import {ZeroEx, Order, SubscriptionOpts, TokenEvents, ContractEvent} from '../src'; -import {web3Factory} from './utils/web3_factory'; - -chaiSetup.configure(); -const expect = chai.expect; - -describe('ZeroEx with beta web3', () => { - const web3_beta_provider = web3Factory.getProviderBeta(); - const zeroEx = new ZeroEx(web3_beta_provider); - it('is able to make a call using a beta provider', async () => { - await zeroEx.tokenRegistry.getTokenAddressesAsync(); - }); -}); |