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

Function test_idle_session_stop

atomic-agent/src/turn/phase.rs:903–911  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

901
902 #[test]
903 fn test_idle_session_stop() {
904 let r = transition(
905 Phase::Idle,
906 Event::SessionStop,
907 TransitionContext::default(),
908 );
909 assert_eq!(r.new_phase, Phase::Ended);
910 assert_eq!(r.actions, vec![Action::UpdateInteraction]);
911 }
912
913 // Transition: from Active
914

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected