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

Function test_envelope_no_prompt

atomic-agent/src/record/tests.rs:818–826  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816
817#[test]
818fn test_envelope_no_prompt() {
819 let session = make_session();
820 let event = make_event();
821 let mut options = make_options(&session, &event);
822 options.prompt = None;
823
824 let env = build_turn_envelope(&options, &[]);
825 assert_eq!(env.prompt_summary, None);
826}
827
828#[test]
829fn test_envelope_session_started_at() {

Callers

nothing calls this directly

Calls 4

make_eventFunction · 0.85
make_optionsFunction · 0.85
build_turn_envelopeFunction · 0.85
make_sessionFunction · 0.70

Tested by

no test coverage detected