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

Function test_stdout_response

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected