test(tui): align viewport snapshot key test with quantization

- keep 8-row key binning for scroll jitter stability and update the assertion to match runtime behavior
This commit is contained in:
Brooklyn Nicholson 2026-04-26 22:35:55 -05:00
parent d81b1cd86c
commit de790eaceb

View file

@ -33,6 +33,6 @@ describe('viewportStore', () => {
top: 13, top: 13,
viewportHeight: 5 viewportHeight: 5
}) })
expect(viewportSnapshotKey(snap)).toBe('0:13:5:40:3') expect(viewportSnapshotKey(snap)).toBe('0:16:5:40:3')
}) })
}) })