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

Function test_active_session_stop

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

Source from the content-addressed store, hash-verified

954
955 #[test]
956 fn test_active_session_stop() {
957 let r = transition(
958 Phase::Active,
959 Event::SessionStop,
960 TransitionContext::default(),
961 );
962 assert_eq!(r.new_phase, Phase::Ended);
963 assert_eq!(r.actions, vec![Action::UpdateInteraction]);
964 }
965
966 // Transition: from ActiveRecorded
967

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected