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

Function test_ended_recorded_without_files

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

Source from the content-addressed store, hash-verified

1058
1059 #[test]
1060 fn test_ended_recorded_without_files() {
1061 let ctx = TransitionContext {
1062 has_files_changed: false,
1063 };
1064 let r = transition(Phase::Ended, Event::Recorded, ctx);
1065 assert_eq!(r.new_phase, Phase::Ended);
1066 assert_eq!(
1067 r.actions,
1068 vec![Action::DiscardIfNoFiles, Action::UpdateInteraction]
1069 );
1070 }
1071
1072 #[test]
1073 fn test_ended_session_start_reenter() {

Callers

nothing calls this directly

Calls 1

transitionFunction · 0.85

Tested by

no test coverage detected