Skip to content

Commit

Permalink
fix mock
Browse files Browse the repository at this point in the history
  • Loading branch information
seaona committed Mar 6, 2025
1 parent f0e8c00 commit 91272be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/flask/solana/common-solana.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1611,9 +1611,6 @@ export async function withSolanaAccountSnap(
mockList.push(await mockGetSuccessSignaturesForAddress(mockServer));
mockList.push(await mockGetSuccessTransaction(mockServer));
}
if (mockZeroBalance) {
mockList.push(await mockSolanaBalanceQuote(mockServer, true));
}
if (mockCalls) {
mockList.push([
await mockSolanaBalanceQuote(mockServer),
Expand All @@ -1631,6 +1628,9 @@ export async function withSolanaAccountSnap(
await mockGetAccountInfo(mockServer),
]);
}
if (mockZeroBalance) {
mockList.push(await mockSolanaBalanceQuote(mockServer, true));
}
if (mockSendTransaction) {
mockList.push(await mockSendSolanaTransaction(mockServer));
}
Expand Down

0 comments on commit 91272be

Please sign in to comment.