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

Function test_envelope_agent_name

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

Source from the content-addressed store, hash-verified

740
741#[test]
742fn test_envelope_agent_name() {
743 let session = make_session();
744 let event = make_event();
745 let options = make_options(&session, &event);
746 let files = vec!["src/auth.rs".to_string()];
747
748 let env = build_turn_envelope(&options, &files);
749 assert_eq!(env.agent_name, "claude-code");
750 assert_eq!(env.agent_display_name.as_deref(), Some("Claude Code"));
751}
752
753#[test]
754fn 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