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

Function test_hook_verbs

atomic-agent/src/hooks/sherpa.rs:456–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

454
455 #[test]
456 fn test_hook_verbs() {
457 let hook = make_hook();
458 let verbs = hook.hook_verbs();
459 assert!(verbs.contains(&"session-start"));
460 assert!(verbs.contains(&"session-end"));
461 assert!(verbs.contains(&"turn-start"));
462 assert!(verbs.contains(&"turn-end"));
463 }
464
465 // --- install / uninstall are no-ops ---
466

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected