aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-03 08:56:28 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2019-01-03 08:56:28 +0800
commit89f67b9becf3b4c0d13cceeaca4d5656ad500a9a (patch)
tree0699855c64de5528d403e19d659fe201cefe4ab0 /packages
parentf17fe381bfe18e1093f7a1c8f1c27431a0354d22 (diff)
downloaddexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.tar
dexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.tar.gz
dexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.tar.bz2
dexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.tar.lz
dexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.tar.xz
dexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.tar.zst
dexon-0x-contracts-89f67b9becf3b4c0d13cceeaca4d5656ad500a9a.zip
take out no-longer necessary test
Diffstat (limited to 'packages')
-rw-r--r--packages/instant/test/util/asset.test.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/instant/test/util/asset.test.ts b/packages/instant/test/util/asset.test.ts
index 213e69dd8..402a556d5 100644
--- a/packages/instant/test/util/asset.test.ts
+++ b/packages/instant/test/util/asset.test.ts
@@ -1,4 +1,4 @@
-import { AssetBuyerError, InsufficientAssetLiquidityError, BigNumber } from '@0x/asset-buyer';
+import { AssetBuyerError, BigNumber, InsufficientAssetLiquidityError } from '@0x/asset-buyer';
import { AssetProxyId, ObjectMap } from '@0x/types';
import { Web3Wrapper } from '@0x/web3-wrapper';
@@ -83,11 +83,6 @@ describe('assetDataUtil', () => {
assetUtils.assetBuyerErrorMessage(WAX_ASSET, new InsufficientAssetLiquidityError(amountAvailable)),
).toEqual('There are only 3 WAX available to buy');
});
- it('should return generic message when InsufficientAssetLiquidityError contains undefined value', () => {
- expect(assetUtils.assetBuyerErrorMessage(ZRX_ASSET, new InsufficientAssetLiquidityError())).toEqual(
- 'Not enough ZRX available',
- );
- });
it('should return generic message when amount available rounds to zero', () => {
const amountAvailable = Web3Wrapper.toBaseUnitAmount(new BigNumber(0.002), 18);
expect(