Fixed linter error

ERROR: 793:24  no-unnecessary-type-assertion  This assertion is unnecessary since it does not change the type of the expression.
This commit is contained in:
F. Eugene Aumson 2020-10-14 12:00:47 -04:00
parent 7030572f1d
commit 2db52c6983
No known key found for this signature in database
GPG Key ID: 23E6737B1374A24A

View File

@ -790,6 +790,7 @@ describe('MarketOperationUtils tests', () => {
},
});
expect(result.optimizedOrders.length).to.eql(1);
// tslint:disable-next-line:no-unnecessary-type-assertion
expect(requestedComparisonPrice!.toString()).to.eql('320');
expect(result.optimizedOrders[0].makerAssetAmount.toString()).to.eql('321000000');
expect(result.optimizedOrders[0].takerAssetAmount.toString()).to.eql('1000000000000000000');