aboutsummaryrefslogtreecommitdiffstats
path: root/test
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 18:21:53 +0800
commit8ec2f685abefd77186b9bad5d67c9b23a9c03acf (patch)
tree9d9119c79f1ad4f1b097253ddc7ee4cac2415e58 /test
parent09f67322f1548b77ea3835b8a885e8c538835af8 (diff)
downloaddexon-0x-contracts-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.gz
dexon-0x-contracts-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.zst
dexon-0x-contracts-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.zip
Add comments for dates
Diffstat (limited to 'test')
-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,
);