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

Function test_watcher_active_after_begin

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

Source from the content-addressed store, hash-verified

574
575 #[tokio::test]
576 async fn test_watcher_active_after_begin() {
577 let dir = TempDir::new().unwrap();
578 let mut watcher = FallbackWatcher::new(make_config(&dir));
579
580 watcher.begin_turn("sess-1").await.unwrap();
581 assert!(watcher.is_active());
582 }
583
584 #[tokio::test]
585 async fn test_watcher_inactive_after_end() {

Callers

nothing calls this directly

Calls 3

make_configFunction · 0.85
unwrapMethod · 0.45
begin_turnMethod · 0.45

Tested by

no test coverage detected