Assert the full History tooltip geometry

Update the prior fixed-height assertion for the taller wrapped-timestamp tooltip and verify its centre remains aligned with the selected sample.

Contract-Neutral: Test-only geometry expectation for the keyboard inspection contract already updated in the parent; no runtime or interface delta.
Change-source: pulse-maintainer
This commit is contained in:
pulse-triage[bot]
2026-10-02 16:04:03 +01:00
parent 0be430813f
commit 6ec5efe0f8
@@ -322,7 +322,8 @@ describe('HistoryChart', () => {
expect(layout.x).toBe(162);
expect(layout.x).toBeGreaterThan(150);
expect(layout.y).toBe(47);
expect(layout.height).toBe(64);
expect(layout.y + layout.height / 2).toBe(70);
});
it('moves the tooltip to the left edge side near the right chart boundary', () => {