Repository navigation
Commit 3646c6e
committed
test(lib): repoint the reasoning-replay-scope oracle at the bridge leaves
tests/lib/reasoning-replay-scope-source.test.ts reads bridge source as text and
pins two declarations of `const replayCacheScope = options?.replayCacheScope;`.
After the facade split one lives in src/bridge/sse.ts and the other in
src/bridge/response-json.ts, so reading the facade matched nothing and the
assertion failed on null. Read both leaves and keep the count at 2.
This oracle was missed when the split was planned. The audit searched tests/ for
the literal `src/bridge.ts`, but this test composes the path from a relative
fragment: `repoPath("src", ...relative.split("/"))` called with `"bridge.ts"`.
A literal search cannot see that. The replacement check resolves every string
literal in a test that reads files, against the real src tree, which finds the
composed form too.1 parent 3c6cf21 commit 3646c6e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments