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