Files
Stevan Freeborn 905f7f945a style: use 2-space indentation across entire codebase
Add rustfmt.toml with tab_spaces = 2 and reformat all source files,
tests, and README code examples to use 2-space indentation.
2026-03-25 14:11:08 -05:00

11 lines
287 B
Rust

use onspring::OnspringClient;
use wiremock::MockServer;
pub async fn setup() -> (MockServer, OnspringClient) {
let mock_server = MockServer::start().await;
let client = OnspringClient::builder("test-api-key")
.base_url(mock_server.uri())
.build();
(mock_server, client)
}