()
| 472 | |
| 473 | #[test] |
| 474 | fn test_supported_hooks() { |
| 475 | let hook = make_hook(); |
| 476 | let hooks = hook.supported_hooks(); |
| 477 | assert_eq!(hooks.len(), 6); |
| 478 | assert!(hooks.contains(&HookType::SessionStart)); |
| 479 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 480 | assert!(hooks.contains(&HookType::TurnStart)); |
| 481 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 482 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 483 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 484 | } |
| 485 | |
| 486 | #[test] |
| 487 | fn test_hook_verbs() { |
nothing calls this directly
no test coverage detected