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

Function test_envelope_session_started_at

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

Source from the content-addressed store, hash-verified

832
833#[test]
834fn test_envelope_session_started_at() {
835 let session = make_session();
836 let event = make_event();
837 let options = make_options(&session, &event);
838
839 let env = build_turn_envelope(&options, &[]);
840 assert_eq!(env.session_started_at, session.started_at.timestamp());
841}
842
843#[test]
844fn test_envelope_encodes_successfully() {

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