Skip to content

Commit

Permalink
fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Terala-Priyanka committed Dec 10, 2024
1 parent 9544825 commit 575389c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/RequestsFilters/RequestsFilters.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jest.mock('./RequestLevelFilter', () => ({
jest.mock('./PickupServicePointFilter', () => ({
PickupServicePointFilter: jest.fn((props) => (<div {...props} />)),
}));
jest.mock('../../hooks', () => ({
...jest.requireActual('../../hooks'),
useRetrievalServicePoints: jest.fn(),
}));
jest.mock('@folio/stripes/smart-components', () => ({
CheckboxFilter: jest.fn((props) => (<div {...props} />)),
MultiSelectionFilter: jest.fn((props) => (<div {...props} />)),
Expand Down

0 comments on commit 575389c

Please sign in to comment.