Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 5b4b03a

Browse files
committed
compare bigint
1 parent 5955c28 commit 5b4b03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web3-eth/test/integration/web3_eth/estimate_gas.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ describe('Web3Eth.estimateGas', () => {
5757
};
5858
const response = await web3Eth.estimateGas(transaction);
5959
// eslint-disable-next-line jest/no-standalone-expect
60-
expect(Number(response)).toBe(480435);
60+
expect(response).toBe(BigInt(480435));
6161
});
6262
});

0 commit comments

Comments
 (0)