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

Function test_stdout_response

atomic-agent/src/hooks/agy.rs:483–488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481
482 #[test]
483 fn test_stdout_response() {
484 let hook = make_hook();
485 assert_eq!(hook.stdout_response(HookType::TurnStart), Some("{}"));
486 assert_eq!(hook.stdout_response(HookType::TurnEnd), Some("{}"));
487 assert_eq!(hook.stdout_response(HookType::PostToolUse), Some("{}"));
488 }
489
490 // Parse event tests
491

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected