()
| 668 | |
| 669 | #[test] |
| 670 | fn test_supported_hooks() { |
| 671 | let hook = make_hook(); |
| 672 | let hooks = hook.supported_hooks(); |
| 673 | assert_eq!(hooks.len(), 6); |
| 674 | assert!(hooks.contains(&HookType::SessionStart)); |
| 675 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 676 | assert!(hooks.contains(&HookType::TurnStart)); |
| 677 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 678 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 679 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 680 | } |
| 681 | |
| 682 | #[test] |
| 683 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected