diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 18:21:53 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-07 19:26:13 +0800 |
commit | 87e0eceb9b5b4460e0875bedcd3a5864ab870e12 (patch) | |
tree | 9a3c819a4a3e5f845f4d999dcaee790d285eff1a | |
parent | 8c44b102fc48a4ba8a662be3b603ce2af0e8acf6 (diff) | |
download | dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.tar dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.tar.gz dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.tar.bz2 dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.tar.lz dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.tar.xz dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.tar.zst dexon-sol-tools-87e0eceb9b5b4460e0875bedcd3a5864ab870e12.zip |
Add comments for dates
-rw-r--r-- | test/exchange_wrapper_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts index 3a3ec1ca7..c0068c58a 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -158,7 +158,7 @@ describe('ExchangeWrapper', () => { )).to.be.rejectedWith(ExchangeContractErrs.TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER); }); it('should throw when order is expired', async () => { - const expirationInPast = new BigNumber(1496826058); + const expirationInPast = new BigNumber(1496826058); // 7th Jun 2017 const fillableAmount = new BigNumber(5); const signedOrder = await fillScenarios.createFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, expirationInPast, @@ -350,7 +350,7 @@ describe('ExchangeWrapper', () => { .to.be.rejectedWith(ExchangeContractErrs.ORDER_CANCEL_AMOUNT_ZERO); }); it('should throw when order is expired', async () => { - const expirationInPast = new BigNumber(1496826058); + const expirationInPast = new BigNumber(1496826058); // 7th Jun 2017 const expiredSignedOrder = await fillScenarios.createFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, expirationInPast, ); |