aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-01 23:52:31 +0800
committerFabio Berger <me@fabioberger.com>2017-06-01 23:52:31 +0800
commit19e922724e963950c97c009def39019b382fb516 (patch)
tree5728731bda6feac4b340508d34ebc8aea77cb1b1 /test
parentaef3ed9fd7e1d8c72a02bb2eec970597cb353a4d (diff)
downloaddexon-sol-tools-19e922724e963950c97c009def39019b382fb516.tar
dexon-sol-tools-19e922724e963950c97c009def39019b382fb516.tar.gz
dexon-sol-tools-19e922724e963950c97c009def39019b382fb516.tar.bz2
dexon-sol-tools-19e922724e963950c97c009def39019b382fb516.tar.lz
dexon-sol-tools-19e922724e963950c97c009def39019b382fb516.tar.xz
dexon-sol-tools-19e922724e963950c97c009def39019b382fb516.tar.zst
dexon-sol-tools-19e922724e963950c97c009def39019b382fb516.zip
rename variable
Diffstat (limited to 'test')
-rw-r--r--test/utils/order_factory.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/order_factory.ts b/test/utils/order_factory.ts
index 359168ff9..0f370ed34 100644
--- a/test/utils/order_factory.ts
+++ b/test/utils/order_factory.ts
@@ -15,9 +15,9 @@ export const orderFactory = {
takerTokenAmount: BigNumber.BigNumber|number,
takerTokenAddress: string,
expirationUnixTimestampSec?: BigNumber.BigNumber): Promise<SignedOrder> {
- const INF_TIMESTAMP = new BigNumber(2524604400);
+ const defaultExpirationUnixTimestampSec = new BigNumber(2524604400); // Close to infinite
expirationUnixTimestampSec = _.isUndefined(expirationUnixTimestampSec) ?
- INF_TIMESTAMP :
+ defaultExpirationUnixTimestampSec :
expirationUnixTimestampSec;
const order = {
maker,