Skip to content

Commit

Permalink
chore: add tests for Solana vault swaps
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-llimos committed Nov 27, 2024
1 parent abc75f2 commit 4114813
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bouncer/tests/DCA_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,10 @@ async function testDCASwap(
}

export async function main() {
await Promise.all([testDCASwap(Assets.Eth, 1, 2), testDCASwap(Assets.ArbEth, 1, 2, true)]);
await Promise.all([
testDCASwap(Assets.Eth, 1, 2),
testDCASwap(Assets.ArbEth, 1, 2, true),
testDCASwap(Assets.Sol, 10, 2, true),
testDCASwap(Assets.SolUsdc, 1000, 2),
]);
}
2 changes: 2 additions & 0 deletions bouncer/tests/fill_or_kill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,7 @@ async function main() {
testMinPriceRefund(Assets.Flip, 500, true),
testMinPriceRefund(Assets.Eth, 1, true),
testMinPriceRefund(Assets.ArbEth, 5, true),
testMinPriceRefund(Assets.Sol, 10),
testMinPriceRefund(Assets.SolUsdc, 1000, true),
]);
}

0 comments on commit 4114813

Please sign in to comment.