aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forwarder-helper/test
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-23 06:20:53 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-23 06:39:03 +0800
commit44ca6c4b71e23162821b923d2c812bbd5dd7b078 (patch)
treeedc43909501d810196ad372b467c984acc844146 /packages/forwarder-helper/test
parentbfabdf6010ed044828c05f35d6e2e77cccdd1d2f (diff)
downloaddexon-0x-contracts-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.gz
dexon-0x-contracts-44ca6c4b71e23162821b923d2c812bbd5dd7b078.tar.zst
dexon-0x-contracts-44ca6c4b71e23162821b923d2c812bbd5dd7b078.zip
Fix lint errors
Diffstat (limited to 'packages/forwarder-helper/test')
-rw-r--r--packages/forwarder-helper/test/forwarder_helper_impl_test.ts4
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);