()
| 536 | |
| 537 | #[test] |
| 538 | fn test_supported_hooks() { |
| 539 | let hook = make_hook(); |
| 540 | let hooks = hook.supported_hooks(); |
| 541 | assert_eq!(hooks.len(), 6); |
| 542 | assert!(hooks.contains(&HookType::SessionStart)); |
| 543 | assert!(hooks.contains(&HookType::SessionEnd)); |
| 544 | assert!(hooks.contains(&HookType::TurnStart)); |
| 545 | assert!(hooks.contains(&HookType::TurnEnd)); |
| 546 | assert!(hooks.contains(&HookType::PreToolUse)); |
| 547 | assert!(hooks.contains(&HookType::PostToolUse)); |
| 548 | } |
| 549 | |
| 550 | #[test] |
| 551 | fn test_supported_hooks_count() { |
nothing calls this directly
no test coverage detected