mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-24 12:42:49 +00:00
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:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user