()
| 481 | |
| 482 | #[test] |
| 483 | fn test_supported_hooks() { |
| 484 | let hook = make_hook(); |
| 485 | let hooks = hook.supported_hooks(); |
| 486 | assert_eq!(hooks.len(), 4); |
| 487 | assert!(hooks.contains(&HookType::TurnStart)); |
| 488 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 489 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 490 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 491 | // Kiro doesn't have native SessionStart/SessionEnd |
| 492 | assert!(!hooks.contains(&HookType::SessionStart)); |
| 493 | assert!(!hooks.contains(&HookType::SessionEnd)); |
| 494 | } |
| 495 | |
| 496 | // --- hook_verbs --- |
| 497 |
nothing calls this directly
no test coverage detected