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