aboutsummaryrefslogtreecommitdiffstats
path: root/test/web3_beta_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/web3_beta_test.ts')
-rw-r--r--test/web3_beta_test.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/web3_beta_test.ts b/test/web3_beta_test.ts
new file mode 100644
index 000000000..e34812243
--- /dev/null
+++ b/test/web3_beta_test.ts
@@ -0,0 +1,16 @@
+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();
+ });
+});