refactor more code

This commit is contained in:
Daniel Pyrathon
2020-03-04 08:17:01 -08:00
parent 807904bb86
commit 99dc4b8e07
4 changed files with 25 additions and 25 deletions

View File

@@ -431,9 +431,9 @@ describe('DexSampler tests', () => {
}
expect(sellQuotes.length).to.eql(1);
const iquidityPoolSellQuotes: DexSample[] = sellQuotes[0];
expect(iquidityPoolSellQuotes.length).to.eql(3);
for (const quote of iquidityPoolSellQuotes) {
const liquidityPoolSellQuotes: DexSample[] = sellQuotes[0];
expect(liquidityPoolSellQuotes.length).to.eql(3);
for (const quote of liquidityPoolSellQuotes) {
expect(quote.source).to.bignumber.eql(ERC20BridgeSource.LiquidityProvider);
expect(quote.input.minus(1)).to.bignumber.eql(quote.output);
}