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

Method test

src/instruments/mod.rs:84–91  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

82impl Instruments {
83 /// Constructs a new `Instruments` with default values for testing purposes
84 pub fn test() -> Self {
85 Self {
86 mongodb: Some(MongoDBConfig {
87 uri_env_name: Some("MONGODB_URI".into()),
88 }),
89 telemetry: false,
90 }
91 }
92}
93
94#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected