MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_extract_session_id_with_value

Function test_extract_session_id_with_value

atomic-agent/src/hooks/copilot.rs:859–862  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

857
858 #[test]
859 fn test_extract_session_id_with_value() {
860 let id = CopilotHook::extract_session_id(Some("cp-123".to_string()));
861 assert_eq!(id, "cp-123");
862 }
863
864 #[test]
865 fn test_extract_session_id_empty_generates_fallback() {

Callers

nothing calls this directly

Calls 1

extract_session_idFunction · 0.85

Tested by

no test coverage detected