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

Function test_envelope_session_id

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

Source from the content-addressed store, hash-verified

732
733#[test]
734fn test_envelope_session_id() {
735 let session = make_session();
736 let event = make_event();
737 let options = make_options(&session, &event);
738 let files = vec!["src/auth.rs".to_string()];
739
740 let env = build_turn_envelope(&options, &files);
741 assert_eq!(env.session_id, "sess-test-123");
742}
743
744#[test]
745fn test_envelope_agent_name() {

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