test(fs-local): pin multibyte byte-length gating

This commit is contained in:
ZiyaZhang
2026-08-07 11:56:08 -07:00
parent 16c1eaf546
commit d7705e2dcd
2 changed files with 12 additions and 2 deletions

View File

@@ -367,8 +367,6 @@ describe('readTextForDiff', () => {
})
it('returns null when the opened file grows after descriptor stat', async () => {
// Pins the one-extra-byte EOF probe: with a buffer of exactly openedSize a
// grown file would read openedSize bytes and pass the consistency check.
const file = join(dir, 'growing.txt')
await writeFile(file, 'abcdef')
vi.resetModules()