fix(test): correct trends dashboard lookups expectation

- Update expected lookups array to include both day buckets
This commit is contained in:
2026-03-28 15:14:40 -07:00
parent 0dbef59a57
commit 6cbfc35b45

View File

@@ -833,7 +833,7 @@ test('getTrendsDashboard keeps local-midnight session buckets separate', () => {
const dashboard = getTrendsDashboard(db, 'all', 'day'); const dashboard = getTrendsDashboard(db, 'all', 'day');
assert.deepEqual( assert.deepEqual(
dashboard.progress.lookups.map((point) => point.value), dashboard.progress.lookups.map((point) => point.value),
[10], [4, 10],
); );
assert.equal(dashboard.ratios.lookupsPerHundred.length, 1); assert.equal(dashboard.ratios.lookupsPerHundred.length, 1);
} finally { } finally {