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

Function test_hooks_debug

atomic-cli/src/commands/agent/hooks.rs:969–979  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

967
968 #[test]
969 fn test_hooks_debug() {
970 let hooks = Hooks {
971 agent_name: "claude-code".to_string(),
972 verb: "session-start".to_string(),
973 foreground: false,
974 json: false,
975 };
976 let debug = format!("{:?}", hooks);
977 assert!(debug.contains("claude-code"));
978 assert!(debug.contains("session-start"));
979 }
980
981 #[test]
982 fn test_codex_stop_handoffs_by_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected