test: add 20s timeout to 365d trends dashboard test

This commit is contained in:
2026-05-19 00:19:58 -07:00
parent ed85cc4b5e
commit 24b95eda9d
@@ -907,7 +907,10 @@ test('getTrendsDashboard keeps local-midnight session buckets separate', () => {
} }
}); });
test('getTrendsDashboard supports 365d range and caps day buckets at 365', () => { test(
'getTrendsDashboard supports 365d range and caps day buckets at 365',
{ timeout: 20_000 },
() => {
const dbPath = makeDbPath(); const dbPath = makeDbPath();
const db = new Database(dbPath); const db = new Database(dbPath);
withMockNowMs('1772395200000', () => { withMockNowMs('1772395200000', () => {
@@ -964,7 +967,8 @@ test('getTrendsDashboard supports 365d range and caps day buckets at 365', () =>
cleanupDbPath(dbPath); cleanupDbPath(dbPath);
} }
}); });
}); },
);
test('getTrendsDashboard month grouping spans every touched calendar month and keeps progress monthly', () => { test('getTrendsDashboard month grouping spans every touched calendar month and keeps progress monthly', () => {
const dbPath = makeDbPath(); const dbPath = makeDbPath();