Skip to content

Commit

Permalink
test: update tests for BridgeProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
meeh0w committed Oct 14, 2024
1 parent 39a8c06 commit 876b8a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/contexts/BridgeProvider.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ describe('contexts/BridgeProvider', () => {
expect(requestFn).toHaveBeenCalledWith(
{
method: RpcMethod.ETH_SEND_TRANSACTION,
params: [{ ...fakeDepositTx }],
params: [
{ ...fakeDepositTx, maxFeePerGas: '0x32', gasPrice: undefined },
],
},
{
customApprovalScreenTitle: 'Confirm Bridge',
Expand All @@ -223,7 +225,9 @@ describe('contexts/BridgeProvider', () => {
expect(requestFn).toHaveBeenCalledWith(
{
method: RpcMethod.ETH_SEND_TRANSACTION,
params: [{ ...fakeTransferTx }],
params: [
{ ...fakeTransferTx, maxFeePerGas: '0x37', gasPrice: undefined },
],
},
{
customApprovalScreenTitle: 'Confirm Bridge',
Expand Down

0 comments on commit 876b8a0

Please sign in to comment.