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

Function test_stdout_response

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

Source from the content-addressed store, hash-verified

1344
1345 #[test]
1346 fn test_stdout_response() {
1347 let hook = make_hook();
1348 assert_eq!(hook.stdout_response(HookType::TurnStart), Some("{}"));
1349 assert_eq!(hook.stdout_response(HookType::TurnEnd), Some("{}"));
1350 assert_eq!(hook.stdout_response(HookType::PostToolUse), Some("{}"));
1351 }
1352
1353 // Parse event tests
1354

Callers

nothing calls this directly

Calls 1

make_hookFunction · 0.70

Tested by

no test coverage detected