Skip to content

Commit

Permalink
added new test
Browse files Browse the repository at this point in the history
  • Loading branch information
coachchucksol committed Dec 17, 2024
1 parent 9f4215c commit 379d441
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions integration_tests/tests/tip_router/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ mod set_config_fees;
mod set_new_admin;
mod set_tie_breaker;
mod set_tracked_mint_ncn_fee_group;
mod set_weight;
mod snapshot_vault_operator_delegation;
22 changes: 22 additions & 0 deletions integration_tests/tests/tip_router/set_weight.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#[cfg(test)]
mod tests {

use jito_tip_router_core::constants::JTO_USD_FEED;
use solana_sdk::account::ReadableAccount;

use crate::fixtures::{test_builder::TestBuilder, TestResult};

#[tokio::test]
async fn test_switchboard_feed() -> TestResult<()> {
let mut fixture = TestBuilder::new().await;

let test_account = fixture.get_account(&JTO_USD_FEED).await?.unwrap();

println!("{:?}", test_account);

println!("{:?}", test_account.data());

assert!(false);
Ok(())
}
}

0 comments on commit 379d441

Please sign in to comment.