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