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