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

Source from the content-addressed store, hash-verified

859
860 #[test]
861 fn test_extract_session_id_with_value() {
862 let id = CopilotHook::extract_session_id(Some("cp-123".to_string()));
863 assert_eq!(id, "cp-123");
864 }
865
866 #[test]
867 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