MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_engine_fire_no_hooks

Function test_engine_fire_no_hooks

core/src/hooks/engine.rs:557–563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

555
556 #[tokio::test]
557 async fn test_engine_fire_no_hooks() {
558 let engine = HookEngine::new();
559 let event = make_pre_tool_event("s1", "Bash");
560
561 let result = engine.fire(&event).await;
562 assert!(result.is_continue());
563 }
564
565 #[tokio::test]
566 async fn test_engine_fire_no_handler() {

Callers

nothing calls this directly

Calls 2

make_pre_tool_eventFunction · 0.70
fireMethod · 0.45

Tested by

no test coverage detected