mirror of
https://github.com/immich-app/immich.git
synced 2025-12-16 09:13:13 +03:00
fix: incorrect header height calculation in estimated month height (#23923)
This commit is contained in:
@@ -84,13 +84,13 @@ describe('TimelineManager', () => {
|
||||
expect.arrayContaining([
|
||||
expect.objectContaining({ year: 2024, month: 3, height: 283 }),
|
||||
expect.objectContaining({ year: 2024, month: 2, height: 7711 }),
|
||||
expect.objectContaining({ year: 2024, month: 1, height: 286 }),
|
||||
expect.objectContaining({ year: 2024, month: 1, height: 283 }),
|
||||
]),
|
||||
);
|
||||
});
|
||||
|
||||
it('calculates timeline height', () => {
|
||||
expect(timelineManager.totalViewerHeight).toBe(8340);
|
||||
expect(timelineManager.totalViewerHeight).toBe(8337);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user