mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 06:51:16 +08:00
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:
@@ -33,6 +33,6 @@ describe('viewportStore', () => {
|
||||
top: 13,
|
||||
viewportHeight: 5
|
||||
})
|
||||
expect(viewportSnapshotKey(snap)).toBe('0:13:5:40:3')
|
||||
expect(viewportSnapshotKey(snap)).toBe('0:16:5:40:3')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user