(t *testing.T)
| 200 | } |
| 201 | |
| 202 | func TestParseReactionConfigMapAllTargetsDisabled(t *testing.T) { |
| 203 | _, _, _, _, err := parseReactionConfig(map[string]any{ |
| 204 | "type": "eyes", |
| 205 | "issues": false, |
| 206 | "pull-requests": false, |
| 207 | "discussions": false, |
| 208 | }) |
| 209 | if err == nil { |
| 210 | t.Fatal("Expected parseReactionConfig to fail when all reaction targets are disabled") |
| 211 | } |
| 212 | } |
nothing calls this directly
no test coverage detected