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

Function test_envelope_agent_name

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

Source from the content-addressed store, hash-verified

735
736#[test]
737fn test_envelope_agent_name() {
738 let session = make_session();
739 let event = make_event();
740 let options = make_options(&session, &event);
741 let files = vec!["src/auth.rs".to_string()];
742
743 let env = build_turn_envelope(&options, &files);
744 assert_eq!(env.agent_name, "claude-code");
745 assert_eq!(env.agent_display_name.as_deref(), Some("Claude Code"));
746}
747
748#[test]
749fn test_envelope_turn_number() {

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