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

Commit 1b1049d

Browse files
author
Alex
authored
update gas tests (#7074)
1 parent a7d67c6 commit 1b1049d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/web3/test/e2e/estimate_gas.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ describe(`${getSystemTestBackend()} tests - estimateGas`, () => {
9999
break;
100100
case 'NUMBER_BIGINT':
101101
// eslint-disable-next-line jest/no-conditional-expect
102-
expect(result).toBe(BigInt(expectedGasEstimate));
102+
expect(typeof result).toBe('bigint');
103+
// eslint-disable-next-line jest/no-conditional-expect
104+
expect(result.toString()).toBe(expectedGasEstimate.toString());
103105
break;
104106
default:
105107
throw new Error('Unhandled format');

0 commit comments

Comments
 (0)