From a1f6259e29ed9a2669f322e4e936eae7f7caf950 Mon Sep 17 00:00:00 2001 From: david weil Date: Tue, 10 Sep 2024 16:25:16 -0300 Subject: [PATCH] fix overflow test --- test/alexSDK.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/alexSDK.test.ts b/test/alexSDK.test.ts index aa19546..54b8b36 100644 --- a/test/alexSDK.test.ts +++ b/test/alexSDK.test.ts @@ -164,7 +164,7 @@ describe('AlexSDK', () => { it('Attempt to Get Rate with an overflowing From amount (decoders)', async () => { await expect( - sdk.getAmountTo(Currency.STX, BigInt(99999223372036854775807), tokenDiko) + sdk.getAmountTo(Currency.STX, BigInt(9999223372036854775807), tokenDiko) ).rejects.toThrow('ClarityError: 2011'); }, 10000);