From e14b43e3fe69100ade581c9091c0ee3d07e530a4 Mon Sep 17 00:00:00 2001 From: defiQUG Date: Mon, 11 May 2026 21:40:44 -0700 Subject: [PATCH] test(explorer): expect recentTransactionTrend in loadDashboardData fixtures Co-authored-by: Cursor --- frontend/src/utils/dashboard.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/utils/dashboard.test.ts b/frontend/src/utils/dashboard.test.ts index 144126d..539d28a 100644 --- a/frontend/src/utils/dashboard.test.ts +++ b/frontend/src/utils/dashboard.test.ts @@ -33,6 +33,7 @@ describe('loadDashboardData', () => { expect(result).toEqual({ stats: sampleStats, recentBlocks: sampleBlocks, + recentTransactionTrend: [], }) }) @@ -50,6 +51,7 @@ describe('loadDashboardData', () => { expect(result).toEqual({ stats: null, recentBlocks: sampleBlocks, + recentTransactionTrend: [], }) expect(onError).toHaveBeenCalledTimes(1) expect(onError).toHaveBeenCalledWith('stats', expect.any(Error)) @@ -69,6 +71,7 @@ describe('loadDashboardData', () => { expect(result).toEqual({ stats: sampleStats, recentBlocks: [], + recentTransactionTrend: [], }) expect(onError).toHaveBeenCalledTimes(1) expect(onError).toHaveBeenCalledWith('blocks', expect.any(Error))