diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-01 23:51:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-01 23:51:49 +0800 |
commit | aef3ed9fd7e1d8c72a02bb2eec970597cb353a4d (patch) | |
tree | 92581a9487d3b486b0cdaf60ae8303f8fa82c2e5 /test | |
parent | 69a596352d47502e810adc10ffd0c89b7fa2d1d0 (diff) | |
download | dexon-0x-contracts-aef3ed9fd7e1d8c72a02bb2eec970597cb353a4d.tar.gz dexon-0x-contracts-aef3ed9fd7e1d8c72a02bb2eec970597cb353a4d.tar.zst dexon-0x-contracts-aef3ed9fd7e1d8c72a02bb2eec970597cb353a4d.zip |
Follow constants convention
Diffstat (limited to 'test')
-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 e74cdacaf..ad5eba699 100644 --- a/test/exchange_wrapper_test.ts +++ b/test/exchange_wrapper_test.ts @@ -145,11 +145,11 @@ describe('ExchangeWrapper', () => { .to.be.rejectedWith(FillOrderValidationErrs.NOT_A_TAKER); }); it('should throw when order is expired', async () => { - const OLD_TIMESTAMP = new BigNumber(42); + const oldTimestamp = new BigNumber(42); const makerAmount = 5; const takerAmount = 5; const signedOrder = await orderFactory.createSignedOrderAsync(zeroEx, maker, taker, - makerAmount, addressBySymbol.MLN, takerAmount, addressBySymbol.GNT, OLD_TIMESTAMP); + makerAmount, addressBySymbol.MLN, takerAmount, addressBySymbol.GNT, oldTimestamp); zeroEx.setDefaultAccount(taker); expect(zeroEx.exchange.fillOrderAsync(signedOrder, fillAmount, shouldCheckTransfer)) .to.be.rejectedWith(FillOrderValidationErrs.EXPIRED); |