aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-11 19:52:54 +0800
committerGitHub <noreply@github.com>2017-06-11 19:52:54 +0800
commit4ac0ead5ce931871cf12fdaa83d87597bfc9979d (patch)
tree0813864d3920321e64acadebdacfd1525ea4e998 /test/exchange_wrapper_test.ts
parent4e56c299263cf6a3397a1d7b95fb92a8b61da3c0 (diff)
parentbbe9a811fb28417377ec3d089e0cdd3693480c35 (diff)
downloaddexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.tar
dexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.tar.gz
dexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.tar.bz2
dexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.tar.lz
dexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.tar.xz
dexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.tar.zst
dexon-sol-tools-4ac0ead5ce931871cf12fdaa83d87597bfc9979d.zip
Merge pull request #62 from 0xProject/private
Prefix private vars with _
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 1b97d7b05..633fa3c5d 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -618,7 +618,7 @@ describe('ExchangeWrapper', () => {
);
});
afterEach(async () => {
- await (zeroEx.exchange as any).stopWatchingExchangeLogEventsAsync();
+ await (zeroEx.exchange as any)._stopWatchingExchangeLogEventsAsync();
});
// Hack: Mocha does not allow a test to be both async and have a `done` callback
// Since we need to await the receipt of the event in the `subscribeAsync` callback,
@@ -705,7 +705,7 @@ describe('ExchangeWrapper', () => {
);
const orderHash = await zeroEx.getOrderHashHexAsync(signedOrder);
const orderHashFromContract = await (zeroEx.exchange as any)
- .getOrderHashHexUsingContractCallAsync(signedOrder);
+ ._getOrderHashHexUsingContractCallAsync(signedOrder);
expect(orderHash).to.equal(orderHashFromContract);
});
});