Skip to content

Commit

Permalink
test: fix update verbiage on error
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinWoetzel committed Mar 29, 2024
1 parent dcc5406 commit 0701871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/swap/stableswapCurve/stable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 0701871

Please sign in to comment.