diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-07-04 03:05:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-04 03:05:46 +0800 |
commit | 8204409c6d6bf773aa8ebb38006a3975ed43a684 (patch) | |
tree | 93dcf602b5a738bad03c121384707fcf19518310 /test | |
parent | 4bcad260244f5399c07530db7ac18a8335246e34 (diff) | |
parent | d506a1f98562dd11ecff5e936a93fce6d14e48a9 (diff) | |
download | dexon-0x-contracts-8204409c6d6bf773aa8ebb38006a3975ed43a684.tar.gz dexon-0x-contracts-8204409c6d6bf773aa8ebb38006a3975ed43a684.tar.zst dexon-0x-contracts-8204409c6d6bf773aa8ebb38006a3975ed43a684.zip |
Merge branch 'master' into add-exchange-address-to-order-struct
Diffstat (limited to 'test')
-rw-r--r-- | test/exchange_wrapper_test.ts | 3 |
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(); }); |