Commit 27ea32e
test(signals): exercise the gittensor_root arm of local-branch's metadataOnly condition (#8522)
metadataOnly is scorer?.mode !== "gittensor_root" && scorer?.mode !==
"external_command" (local-branch.ts:497). Every other mode had cases; the
literal "gittensor_root" appeared nowhere in this 2600-line suite, so that
value was never exercised.
Adds cases for gittensor_root (no metadata_only caveat), external_command (no
caveat), and metadata_only / no-scorer (caveat present), asserting through the
user-facing scorePreview.blockedBy entry the condition ultimately drives.
Closes #8325
Co-authored-by: RealDiligent <nft.gold.eth@gmail.com>1 parent 584bbbb commit 27ea32e
1 file changed
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2225 | 2225 | | |
2226 | 2226 | | |
2227 | 2227 | | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
2228 | 2260 | | |
2229 | 2261 | | |
2230 | 2262 | | |
| |||
0 commit comments