diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-07 01:18:38 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-07 01:18:38 +0800 |
commit | b1667cdd89417f834582cb265f3b631cb57d1f1e (patch) | |
tree | 8b17b1733985d70c79ef98a34df001dedbb974f5 /test | |
parent | 87f2658fc986504a9117530ae15c517eadf57ed7 (diff) | |
download | dexon-0x-contracts-b1667cdd89417f834582cb265f3b631cb57d1f1e.tar.gz dexon-0x-contracts-b1667cdd89417f834582cb265f3b631cb57d1f1e.tar.zst dexon-0x-contracts-b1667cdd89417f834582cb265f3b631cb57d1f1e.zip |
Fix comments to use web3 provider instead of web3 instance
Diffstat (limited to 'test')
-rw-r--r-- | test/0x.js_test.ts | 2 | ||||
-rw-r--r-- | test/assert_test.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/0x.js_test.ts b/test/0x.js_test.ts index cc30afd90..0d8d63985 100644 --- a/test/0x.js_test.ts +++ b/test/0x.js_test.ts @@ -33,7 +33,7 @@ describe('ZeroEx library', () => { expect((zeroEx.exchange as any)._exchangeContractByAddress[exchangeContractAddress]).to.be.undefined(); expect((zeroEx.tokenRegistry as any)._tokenRegistryContractIfExists).to.be.undefined(); - // Check that all nested web3 instances return the updated provider + // Check that all nested web3 wrapper instances return the updated provider const nestedWeb3WrapperProvider = (zeroEx as any)._web3Wrapper.getCurrentProvider(); expect((nestedWeb3WrapperProvider as any).zeroExTestId).to.be.a('number'); const exchangeWeb3WrapperProvider = (zeroEx.exchange as any)._web3Wrapper.getCurrentProvider(); diff --git a/test/assert_test.ts b/test/assert_test.ts index 6a8d30716..bfca95d9c 100644 --- a/test/assert_test.ts +++ b/test/assert_test.ts @@ -21,7 +21,7 @@ describe('Assertion library', () => { const varName = 'address'; return expect(assert.isSenderAddressAsync(varName, validUnrelatedAddress, (zeroEx as any)._web3Wrapper)) .to.be.rejectedWith( - `Specified ${varName} ${validUnrelatedAddress} isn't available through the supplied web3 instance`, + `Specified ${varName} ${validUnrelatedAddress} isn't available through the supplied web3 provider`, ); }); it('doesn\'t throw if address is available', async () => { |