MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_detect_presence_with_agents_dir

Function test_detect_presence_with_agents_dir

atomic-agent/src/hooks/agy.rs:642–646  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected