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

Function test_watcher_repo_root

atomic-agent/src/watcher/fallback.rs:822–826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

820
821 #[tokio::test]
822 async fn test_watcher_repo_root() {
823 let dir = TempDir::new().unwrap();
824 let watcher = FallbackWatcher::new(make_config(&dir));
825 assert_eq!(watcher.repo_root(), dir.path());
826 }
827
828 #[tokio::test]
829 async fn test_watcher_custom_ignore_patterns() {

Callers

nothing calls this directly

Calls 2

make_configFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected