Skip to content

Commit 0256bf0

Browse files
davibrocclaude
andcommitted
fix: add sendBundle param to mockSentinelNetworks
The previous refactor delegated mockSentinelNetworksRelayOnly to mockSentinelNetworks(mockServer, false) but forgot to add the parameter, leaving sendBundle hardcoded to true in both cases. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 697878b commit 0256bf0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/e2e/tests/bridge/bridge-test-utils.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,10 @@ export const checkInputChangedEvents = async (
13691369
return expectedInputChanges.length;
13701370
};
13711371

1372-
async function mockSentinelNetworks(mockServer: Mockttp) {
1372+
async function mockSentinelNetworks(
1373+
mockServer: Mockttp,
1374+
sendBundle: boolean = true,
1375+
) {
13731376
return await mockServer
13741377
.forGet('https://tx-sentinel-ethereum-mainnet.api.cx.metamask.io/networks')
13751378
.always()
@@ -1383,7 +1386,7 @@ async function mockSentinelNetworks(mockServer: Mockttp) {
13831386
smartTransactions: true,
13841387
relayTransactions: true,
13851388
hidden: false,
1386-
sendBundle: true,
1389+
sendBundle,
13871390
},
13881391
},
13891392
}));

0 commit comments

Comments
 (0)