diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-23 06:20:53 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-23 06:39:03 +0800 |
commit | 44ca6c4b71e23162821b923d2c812bbd5dd7b078 (patch) | |
tree | edc43909501d810196ad372b467c984acc844146 /packages/forwarder-helper/test | |
parent | bfabdf6010ed044828c05f35d6e2e77cccdd1d2f (diff) | |
download | dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.gz dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.bz2 dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.lz dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.xz dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.zst dexon-sol-tools-44ca6c4b71e23162821b923d2c812bbd5dd7b078.zip |
Fix lint errors
Diffstat (limited to 'packages/forwarder-helper/test')
-rw-r--r-- | packages/forwarder-helper/test/forwarder_helper_impl_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/forwarder-helper/test/forwarder_helper_impl_test.ts b/packages/forwarder-helper/test/forwarder_helper_impl_test.ts index 3e2667a01..3c3b6db92 100644 --- a/packages/forwarder-helper/test/forwarder_helper_impl_test.ts +++ b/packages/forwarder-helper/test/forwarder_helper_impl_test.ts @@ -97,7 +97,7 @@ describe('ForwarderHelperImpl', () => { const forwarderHelper = new ForwarderHelperImpl(inputForwarderHelperConfig); expect(() => { // request for 6 makerAsset units, because we have exactly 6 available we should throw because there is a built in slippage buffer - const info = forwarderHelper.getMarketBuyOrdersInfo({ + forwarderHelper.getMarketBuyOrdersInfo({ makerAssetFillAmount: new BigNumber(6), }); }).to.throw(ForwarderHelperError.InsufficientMakerAssetLiquidity); @@ -110,7 +110,7 @@ describe('ForwarderHelperImpl', () => { const forwarderHelper = new ForwarderHelperImpl(inputForwarderHelperConfigNoFees); expect(() => { // request for 4 makerAsset units, we need fees but no fee orders exist, show we should throw - const info = forwarderHelper.getMarketBuyOrdersInfo({ + forwarderHelper.getMarketBuyOrdersInfo({ makerAssetFillAmount: new BigNumber(250), }); }).to.throw(ForwarderHelperError.InsufficientZrxLiquidity); |