MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test

Method test

src/instruments/mod.rs:74–80  ·  view source on GitHub ↗

Constructs a new `Instruments` with default values for testing purposes

()

Source from the content-addressed store, hash-verified

72impl Instruments {
73 /// Constructs a new `Instruments` with default values for testing purposes
74 pub fn test() -> Self {
75 Self {
76 mongodb: Some(MongoDBConfig {
77 uri_env_name: Some("MONGODB_URI".into()),
78 }),
79 }
80 }
81}
82
83#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected