Skip to content

Commit 4d9d291

Browse files
committed
fix: test
1 parent a8c2a0c commit 4d9d291

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/unit/catalog-component.spec.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ describe('Catalog Component', () => {
9090
]
9191
})
9292
dbClientQueryMock.mockResolvedValueOnce({
93-
rows: items.map(item => ({ ...item, total: items.length }))
93+
rows: items.map(item => ({ ...item }))
94+
})
95+
dbClientQueryMock.mockResolvedValueOnce({
96+
rows: [{ total: items.length }]
9497
})
9598
;(Analytics as jest.Mock).mockImplementation(() => {
9699
return {

0 commit comments

Comments
 (0)