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))