From 07018714fdc9ba4219aea356e73c28aa010f04c5 Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 29 Mar 2024 09:27:00 -0500 Subject: [PATCH] test: fix update verbiage on error --- src/lib/swap/stableswapCurve/stable.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', () => {