From 41148136c8606748413edef43e53c2358741300a Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 27 Nov 2024 15:22:38 +0100 Subject: [PATCH] chore: add tests for Solana vault swaps --- bouncer/tests/DCA_test.ts | 7 ++++++- bouncer/tests/fill_or_kill.ts | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bouncer/tests/DCA_test.ts b/bouncer/tests/DCA_test.ts index e4282f766f..f7a158ba51 100644 --- a/bouncer/tests/DCA_test.ts +++ b/bouncer/tests/DCA_test.ts @@ -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), + ]); } diff --git a/bouncer/tests/fill_or_kill.ts b/bouncer/tests/fill_or_kill.ts index 525663cd9c..950f64490c 100644 --- a/bouncer/tests/fill_or_kill.ts +++ b/bouncer/tests/fill_or_kill.ts @@ -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), ]); }