aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/exchange_wrapper_test.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 5136e2e88..5833a8c23 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -712,6 +712,7 @@ describe('ExchangeWrapper', () => {
zeroExEvent.watch((err: Error, event: ContractEvent) => {
expect(err).to.be.null();
expect(event).to.not.be.undefined();
+ expect(event.event).to.be.equal('LogFill');
done();
});
const fillTakerAmountInBaseUnits = new BigNumber(1);
@@ -732,6 +733,7 @@ describe('ExchangeWrapper', () => {
zeroExEvent.watch((err: Error, event: ContractEvent) => {
expect(err).to.be.null();
expect(event).to.not.be.undefined();
+ expect(event.event).to.be.equal('LogCancel');
done();
});
const cancelTakerAmountInBaseUnits = new BigNumber(1);
@@ -760,6 +762,7 @@ describe('ExchangeWrapper', () => {
eventSubscriptionToStay.watch((err: Error, event: ContractEvent) => {
expect(err).to.be.null();
expect(event).to.not.be.undefined();
+ expect(event.event).to.be.equal('LogFill');
done();
});