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