fix(relay): expect missing:false on index blob maxBuffer overflow

readBlobAtIndex now returns a missing flag so staged deletions are
distinct from size-capped binary reads; update the overflow test.
This commit is contained in:
Jinjing
2026-07-16 17:36:22 -07:00
parent 0ea762ed03
commit 581ee2ffec
+2 -1
View File
@@ -44,6 +44,7 @@ describe('git blob readers', () => {
const result = await readBlobAtIndex(gitBuffer, '/repo', 'large.log')
expect(result).toEqual({ content: '', isBinary: true })
// Why: overflow is size-capped content, not a staged deletion (missing: false).
expect(result).toEqual({ content: '', isBinary: true, missing: false })
})
})