aboutsummaryrefslogtreecommitdiffstats
path: root/test/web3_beta_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-30 16:56:46 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-30 16:56:46 +0800
commit130a7967aa9c0e4fba5147e5a9c78516b91f78a8 (patch)
tree95baac8a227429ebb885d20973719461d1bb0731 /test/web3_beta_test.ts
parenta98bb1f7ac2ab02115a28ace15e94ed14d2cf861 (diff)
downloaddexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.tar
dexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.tar.gz
dexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.tar.bz2
dexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.tar.lz
dexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.tar.xz
dexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.tar.zst
dexon-sol-tools-130a7967aa9c0e4fba5147e5a9c78516b91f78a8.zip
Don't create whole web3 object in beta tests
Diffstat (limited to 'test/web3_beta_test.ts')
-rw-r--r--test/web3_beta_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/web3_beta_test.ts b/test/web3_beta_test.ts
index 2fe962555..e34812243 100644
--- a/test/web3_beta_test.ts
+++ b/test/web3_beta_test.ts
@@ -8,8 +8,8 @@ chaiSetup.configure();
const expect = chai.expect;
describe('ZeroEx with beta web3', () => {
- const web3_beta = web3Factory.createBeta();
- const zeroEx = new ZeroEx(web3_beta.currentProvider);
+ 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();
});