MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / test_resolve_paths

Function test_resolve_paths

crates/chat-cli/src/cli/mcp.rs:614–623  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612
613 #[tokio::test]
614 async fn test_resolve_paths() {
615 let os = Os::new().await.unwrap();
616 // workspace
617 let p = resolve_scope_profile(&os, Some(Scope::Workspace)).unwrap();
618 assert_eq!(p, workspace_mcp_config_path(&os).unwrap());
619
620 // global
621 let p = resolve_scope_profile(&os, Some(Scope::Global)).unwrap();
622 assert_eq!(p, global_mcp_config_path(&os).unwrap());
623 }
624
625 #[ignore = "TODO: fix in CI"]
626 #[tokio::test]

Callers

nothing calls this directly

Calls 1

resolve_scope_profileFunction · 0.85

Tested by

no test coverage detected