()
| 640 | |
| 641 | #[test] |
| 642 | fn test_detect_presence_with_agents_dir() { |
| 643 | let dir = tempfile::tempdir().unwrap(); |
| 644 | std::fs::create_dir_all(dir.path().join(".agents")).unwrap(); |
| 645 | assert!(make_hook().detect_presence(dir.path())); |
| 646 | } |
| 647 | |
| 648 | #[test] |
| 649 | fn test_detect_presence_without_agents_dir() { |