aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 07:10:07 +0800
committerFabio Berger <me@fabioberger.com>2017-07-11 15:30:14 +0800
commita8c9945a0fd85cbb95741b5fed385455786700ce (patch)
tree576a2434c1f8c844150288b554c9a6848ceefa75 /test/exchange_wrapper_test.ts
parentbe1f7db2dfd20e20b45660e1efb4f2b9193bc429 (diff)
downloaddexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.tar
dexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.tar.gz
dexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.tar.bz2
dexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.tar.lz
dexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.tar.xz
dexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.tar.zst
dexon-sol-tools-a8c9945a0fd85cbb95741b5fed385455786700ce.zip
Migrate events
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-rw-r--r--test/exchange_wrapper_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 53032efd6..ed2e45abf 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -785,10 +785,10 @@ describe('ExchangeWrapper', () => {
);
zeroExEvent.watch((err: Error, event: ContractEvent) => {
const args = event.args as LogFillContractEventArgs;
- expect(args.filledValueM.isBigNumber).to.be.true();
- expect(args.filledValueT.isBigNumber).to.be.true();
- expect(args.feeMPaid.isBigNumber).to.be.true();
- expect(args.feeTPaid.isBigNumber).to.be.true();
+ expect(args.filledMakerTokenAmount.isBigNumber).to.be.true();
+ expect(args.filledTakerTokenAmount.isBigNumber).to.be.true();
+ expect(args.paidMakerFee.isBigNumber).to.be.true();
+ expect(args.paidTakerFee.isBigNumber).to.be.true();
done();
});
await zeroEx.exchange.fillOrderAsync(