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