PR #429 #1416
codeql
on: dynamic
Matrix: analyze
Annotations
1 warning
|
Test writes fake suite files to real repo tree instead of injecting filesystem dependencies:
src/benchmarks/claude-ui/__tests__/claude-ui-benchmark.test.ts#L91
The test creates files under `repoRoot/benchmarks/claude-ui/local/suites/` to exercise `resolveSuitePath`/`listSuitePaths`, but those functions consume a hardcoded `localSuitesDir` constant with no injection point — so the test can only pass by mutating real on-disk repo state, violating both the filesystem-injection and fake-state guardrails.
|