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