Skip to content

Commit

Permalink
fix overflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
david weil authored and zhigang1992 committed Sep 10, 2024
1 parent 888bfdf commit a1f6259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/alexSDK.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a1f6259

Please sign in to comment.