()
| 701 | |
| 702 | #[test] |
| 703 | fn test_supported_hooks() { |
| 704 | let hook = make_hook(); |
| 705 | let hooks = hook.supported_hooks(); |
| 706 | assert_eq!(hooks.len(), 6); |
| 707 | assert!(hooks.contains(&HookType::SessionStart)); |
| 708 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 709 | assert!(hooks.contains(&HookType::TurnStart)); |
| 710 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 711 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 712 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 713 | } |
| 714 | |
| 715 | #[test] |
| 716 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected