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:854–857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

852
853 #[test]
854 fn test_extract_session_id_with_value() {
855 let id = CopilotHook::extract_session_id(Some("cp-123".to_string()));
856 assert_eq!(id, "cp-123");
857 }
858
859 #[test]
860 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