()
| 613 | |
| 614 | #[test] |
| 615 | fn test_supported_hooks() { |
| 616 | let hook = make_hook(); |
| 617 | let hooks = hook.supported_hooks(); |
| 618 | assert_eq!(hooks.len(), 6); |
| 619 | assert!(hooks.contains(&HookType::SessionStart)); |
| 620 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 621 | assert!(hooks.contains(&HookType::TurnStart)); |
| 622 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 623 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 624 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 625 | } |
| 626 | |
| 627 | #[test] |
| 628 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected