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