Skip to content

Commit

Permalink
close connection
Browse files Browse the repository at this point in the history
  • Loading branch information
luu-alex committed Oct 16, 2024
1 parent 71592b7 commit 7c43f75
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ describe('Web3Eth.sendTransaction', () => {
localWeb3Eth.config.ignoreGasPricing = true;
const response = await localWeb3Eth.sendTransaction(transaction);
expect(response.status).toBe(BigInt(1));
await closeOpenConnection(localWeb3Eth);
});
it('should send a transaction with automated gas price successfully', async () => {
const transaction: TransactionWithToLocalWalletIndex = {
Expand All @@ -224,6 +225,7 @@ describe('Web3Eth.sendTransaction', () => {
localWeb3Eth.config.ignoreGasPricing = false;
const response = await localWeb3Eth.sendTransaction(transaction);
expect(response.status).toBe(BigInt(1));
await closeOpenConnection(localWeb3Eth);
});
describe('Deploy and interact with contract', () => {
let greeterContractAddress: string;
Expand Down

0 comments on commit 7c43f75

Please sign in to comment.