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

Function test_active_recorded_session_stop

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

Source from the content-addressed store, hash-verified

1017
1018 #[test]
1019 fn test_active_recorded_session_stop() {
1020 let r = transition(
1021 Phase::ActiveRecorded,
1022 Event::SessionStop,
1023 TransitionContext::default(),
1024 );
1025 assert_eq!(r.new_phase, Phase::Ended);
1026 assert_eq!(r.actions, vec![Action::UpdateInteraction]);
1027 }
1028
1029 // Transition: from Ended
1030

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected