1 2 3 4 5 6
use rsoundcloud::SoundCloudClient; /// Create a fresh client for each test to avoid cross-runtime issues with reqwest's connection pool. pub async fn get_client() -> SoundCloudClient { SoundCloudClient::default().await.unwrap() }