MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestLoop_Events

Function TestLoop_Events

internal/loop/loop_test.go:130–137  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

128}
129
130func TestLoop_Events(t *testing.T) {
131 l := NewLoop("/path/to/prd.json", "test prompt", 5, testProvider)
132 events := l.Events()
133
134 if events == nil {
135 t.Error("Expected Events() to return a channel")
136 }
137}
138
139func TestLoop_Iteration(t *testing.T) {
140 l := NewLoop("/path/to/prd.json", "test prompt", 5, testProvider)

Callers

nothing calls this directly

Calls 2

EventsMethod · 0.95
NewLoopFunction · 0.85

Tested by

no test coverage detected