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

Function test_envelope_files_in_session

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

Source from the content-addressed store, hash-verified

780
781#[test]
782fn test_envelope_files_in_session() {
783 let session = make_session();
784 let event = make_event();
785 let options = make_options(&session, &event);
786
787 let env = build_turn_envelope(&options, &[]);
788 // Session already has 2 files touched
789 assert_eq!(env.files_in_session, 2);
790}
791
792#[test]
793fn test_envelope_prompt_summary() {

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