aboutsummaryrefslogtreecommitdiffstats
path: root/test/0x.js_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/0x.js_test.ts')
-rw-r--r--test/0x.js_test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 21e4b5a3b..041c5b433 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -20,6 +20,8 @@ describe('ZeroEx library', () => {
// Instantiate the contract instances with the current provider
await (zeroEx.exchange as any).instantiateExchangeContractIfDoesntExistAsync();
await (zeroEx.tokenRegistry as any).instantiateTokenRegistryContractIfDoesntExistAsync();
+ expect((zeroEx.exchange as any).exchangeContractIfExists).to.not.be.an('undefined');
+ expect((zeroEx.tokenRegistry as any).tokenRegistryContractIfExists).to.not.be.an('undefined');
const newProvider = web3Factory.getRpcProvider();
// Add property to newProvider so that we can differentiate it from old provider