Constructs a new `Instruments` with default values for testing purposes
()
| 82 | impl 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)] |
nothing calls this directly
no outgoing calls
no test coverage detected