mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-04-09 16:19:25 -07:00
fix(test): correct trends dashboard lookups expectation
- Update expected lookups array to include both day buckets
This commit is contained in:
@@ -833,7 +833,7 @@ test('getTrendsDashboard keeps local-midnight session buckets separate', () => {
|
||||
const dashboard = getTrendsDashboard(db, 'all', 'day');
|
||||
assert.deepEqual(
|
||||
dashboard.progress.lookups.map((point) => point.value),
|
||||
[10],
|
||||
[4, 10],
|
||||
);
|
||||
assert.equal(dashboard.ratios.lookupsPerHundred.length, 1);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user