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

Function test_hook_verbs

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

Source from the content-addressed store, hash-verified

360
361 #[test]
362 fn test_hook_verbs() {
363 let hook = make_hook();
364 let verbs = hook.hook_verbs();
365 assert!(verbs.contains(&"session-start"));
366 assert!(verbs.contains(&"session-end"));
367 assert!(verbs.contains(&"turn-start"));
368 assert!(verbs.contains(&"turn-end"));
369 }
370
371 // --- install / uninstall are no-ops ---
372

Callers

nothing calls this directly

Calls 2

make_hookFunction · 0.70
hook_verbsMethod · 0.45

Tested by

no test coverage detected