aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/0x.js_test.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts
index 496b2780a..21e4b5a3b 100644
--- a/test/0x.js_test.ts
+++ b/test/0x.js_test.ts
@@ -17,8 +17,9 @@ describe('ZeroEx library', () => {
it('overrides the provider in the nested web3 instance and invalidates contractInstances', async () => {
const web3 = web3Factory.create();
const zeroEx = new ZeroEx(web3);
- // Instantiate the exchangeContract instance with the current provider
+ // Instantiate the contract instances with the current provider
await (zeroEx.exchange as any).instantiateExchangeContractIfDoesntExistAsync();
+ await (zeroEx.tokenRegistry as any).instantiateTokenRegistryContractIfDoesntExistAsync();
const newProvider = web3Factory.getRpcProvider();
// Add property to newProvider so that we can differentiate it from old provider