test(explorer): expect recentTransactionTrend in loadDashboardData fixtures
Some checks failed
Deploy Explorer Live / deploy (push) Failing after 17s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-05-11 21:40:44 -07:00
parent 64e78dad47
commit e14b43e3fe

View File

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