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

Function test_missing_session_id_fallback

atomic-agent/src/hooks/grok.rs:654–660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

652
653 #[test]
654 fn test_missing_session_id_fallback() {
655 let hook = make_hook();
656 let event = hook
657 .parse_event(HookType::SessionStart, br#"{"cwd":"/tmp"}"#)
658 .unwrap();
659 assert!(event.session_id.starts_with("grok-"));
660 }
661
662 #[test]
663 fn test_repo_root_hints_from_workspace() {

Callers

nothing calls this directly

Calls 3

make_hookFunction · 0.70
unwrapMethod · 0.45
parse_eventMethod · 0.45

Tested by

no test coverage detected