MCPcopy Create free account
hub / github.com/Commit-Boost/commit-boost-client / setup_test_env

Function setup_test_env

tests/src/utils.rs:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26static SYNC_SETUP: Once = Once::new();
27pub fn setup_test_env() {
28 SYNC_SETUP.call_once(|| {
29 tracing_subscriber::fmt().with_max_level(tracing::Level::TRACE).init();
30 });
31}
32
33pub fn generate_mock_relay(port: u16, pubkey: BlsPublicKey) -> Result<RelayClient> {
34 let entry =

Calls

no outgoing calls