()
| 32 | |
| 33 | #[test] |
| 34 | fn test_supported_hooks() { |
| 35 | let hook = make_hook(); |
| 36 | let hooks = hook.supported_hooks(); |
| 37 | assert_eq!(hooks.len(), 6); |
| 38 | assert!(hooks.contains(&HookType::SessionStart)); |
| 39 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 40 | assert!(hooks.contains(&HookType::TurnStart)); |
| 41 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 42 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 43 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 44 | } |
| 45 | |
| 46 | #[test] |
| 47 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected