aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-07 18:21:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-07 19:26:13 +0800
commit87e0eceb9b5b4460e0875bedcd3a5864ab870e12 (patch)
tree9a3c819a4a3e5f845f4d999dcaee790d285eff1a
parent8c44b102fc48a4ba8a662be3b603ce2af0e8acf6 (diff)
downloaddexon-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.ts4
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,
);