Skip to content

Commit

Permalink
sdk/js: replace bigint literal
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitaki authored and evan-gray committed Feb 10, 2023
1 parent 0e8f8fa commit e0bebed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/js/src/nft_bridge/__tests__/aptos-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe("Aptos NFT SDK tests", () => {
APTOS_NFT_BRIDGE_ADDRESS,
CHAIN_ID_ETH,
tryNativeToUint8Array(ethNft.address, CHAIN_ID_ETH),
10n
BigInt(10)
);
assertIsNotNull(tokenId);
expect(
Expand Down Expand Up @@ -489,14 +489,14 @@ describe("Aptos NFT SDK tests", () => {
APTOS_NFT_BRIDGE_ADDRESS,
CHAIN_ID_ETH,
tryNativeToUint8Array(ethNfts.address, CHAIN_ID_ETH),
0n
BigInt(0)
);
const tokenId2 = await getForeignAssetAptos(
aptosClient,
APTOS_NFT_BRIDGE_ADDRESS,
CHAIN_ID_ETH,
tryNativeToUint8Array(ethNfts.address, CHAIN_ID_ETH),
1n
BigInt(1)
);
assertIsNotNull(tokenId1);
assertIsNotNull(tokenId2);
Expand Down

0 comments on commit e0bebed

Please sign in to comment.