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

Function test_envelope_session_id

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

Source from the content-addressed store, hash-verified

724
725#[test]
726fn test_envelope_session_id() {
727 let session = make_session();
728 let event = make_event();
729 let options = make_options(&session, &event);
730 let files = vec!["src/auth.rs".to_string()];
731
732 let env = build_turn_envelope(&options, &files);
733 assert_eq!(env.session_id, "sess-test-123");
734}
735
736#[test]
737fn 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