aboutsummaryrefslogtreecommitdiffstats
path: root/test/exchange_wrapper_test.ts
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/exchange_wrapper_test.ts
parent09f67322f1548b77ea3835b8a885e8c538835af8 (diff)
downloaddexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar
dexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.gz
dexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.bz2
dexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.lz
dexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.xz
dexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.tar.zst
dexon-sol-tools-8ec2f685abefd77186b9bad5d67c9b23a9c03acf.zip
Add comments for dates
Diffstat (limited to 'test/exchange_wrapper_test.ts')
-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,
);