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:829–836  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

827
828#[test]
829fn test_envelope_session_started_at() {
830 let session = make_session();
831 let event = make_event();
832 let options = make_options(&session, &event);
833
834 let env = build_turn_envelope(&options, &[]);
835 assert_eq!(env.session_started_at, session.started_at.timestamp());
836}
837
838#[test]
839fn 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