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

Function load_happy_config

tests/tests/config.rs:19–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19async fn load_happy_config() -> Result<CommitBoostConfig> {
20 let path = PathBuf::from("./data/configs/pbs.happy.toml");
21 let config = CommitBoostConfig::from_file(&path)?;
22 config.validate().await?;
23
24 Ok(config)
25}
26
27#[tokio::test]
28async fn test_load_pbs_happy() -> Result<()> {

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected