Skip to content

Commit a1f6259

Browse files
david weilzhigang1992
authored andcommitted
fix overflow test
1 parent 888bfdf commit a1f6259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/alexSDK.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ describe('AlexSDK', () => {
164164

165165
it('Attempt to Get Rate with an overflowing From amount (decoders)', async () => {
166166
await expect(
167-
sdk.getAmountTo(Currency.STX, BigInt(99999223372036854775807), tokenDiko)
167+
sdk.getAmountTo(Currency.STX, BigInt(9999223372036854775807), tokenDiko)
168168
).rejects.toThrow('ClarityError: 2011');
169169
}, 10000);
170170

0 commit comments

Comments
 (0)