Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuklis committed Dec 1, 2022
1 parent d85ebc9 commit 6b14f7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('useBoundWithHoldings', () => {
});

it('should fetch bound-with holdings', async () => {
const boundWithItems = { records: [{ hrid: 'BW-ITEM-1', holdingsRecordId: '9e8dc8ce-68f3-4e75-8479-d548ce521157' }], hasLoaded: true };
const boundWithItems = [{ hrid: 'BW-ITEM-1', holdingsRecordId: '9e8dc8ce-68f3-4e75-8479-d548ce521157' }];

const { result, waitFor } = renderHook(() => useBoundWithHoldings(boundWithItems), { wrapper });

Expand Down

0 comments on commit 6b14f7d

Please sign in to comment.