(t *testing.T)
| 128 | } |
| 129 | |
| 130 | func 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 | |
| 139 | func TestLoop_Iteration(t *testing.T) { |
| 140 | l := NewLoop("/path/to/prd.json", "test prompt", 5, testProvider) |