diff --git a/src/lib/swap/stableswapCurve/stable.test.ts b/src/lib/swap/stableswapCurve/stable.test.ts index 5903262..072b703 100644 --- a/src/lib/swap/stableswapCurve/stable.test.ts +++ b/src/lib/swap/stableswapCurve/stable.test.ts @@ -132,7 +132,7 @@ test('slippage calculations correct', () => { // slippage limit conf = getConfSmallPool(); - expect(() => conf.swapToken0WithToken1(BigNumber(100000000))).toThrowError(/^The slippage of this trade.*/); + expect(() => conf.swapToken0WithToken1(BigNumber(100000000))).toThrowError(/^The price impact of this trade.*/); }); test('py correct', () => {