From 0024f65f5f8f63e20bf046d322dce9d4af4f7346 Mon Sep 17 00:00:00 2001 From: Dmitriy-Litvinenko Date: Tue, 10 Dec 2024 21:11:37 +0200 Subject: [PATCH 1/2] UIREQ-1210: Update changelog after release --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f515e77e..4d41511b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,14 @@ ## [11.1.0] IN PROGRESS -* Migrate from `mod-circulation` to `mod-circulation-bff` for `Print pick slips` and `Print search slips`. Refs UIREQ-1154. * Add optional column "Retrieval service point" to requests search list. Refs UIREQ-1188. * Increase code coverage for src/ChooseRequestTypeDialog.js by Jest/RTL tests. Refs UIREQ-1044. +## [11.0.2] (https://github.com/folio-org/ui-requests/tree/v11.0.2) (2024-12-10) +[Full Changelog](https://github.com/folio-org/ui-requests/compare/v11.0.1...v11.0.2) + +* Migrate from `mod-circulation` to `mod-circulation-bff` for `Print pick slips` and `Print search slips`. Refs UIREQ-1154. + ## [11.0.1] (https://github.com/folio-org/ui-requests/tree/v11.0.1) (2024-12-02) [Full Changelog](https://github.com/folio-org/ui-requests/compare/v11.0.0...v11.0.1) From 80ce45cc741c36a7236e611d3419339820c97b78 Mon Sep 17 00:00:00 2001 From: Priyanka Terala Date: Thu, 12 Dec 2024 11:04:58 +0530 Subject: [PATCH 2/2] UIREQ-1190 - remove unnecessary mock --- .../RequestsFilters/RequestsFilters.test.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/components/RequestsFilters/RequestsFilters.test.js b/src/components/RequestsFilters/RequestsFilters.test.js index a2d8c49b..66107b61 100644 --- a/src/components/RequestsFilters/RequestsFilters.test.js +++ b/src/components/RequestsFilters/RequestsFilters.test.js @@ -30,19 +30,6 @@ jest.mock('./PickupServicePointFilter', () => ({ jest.mock('./RetrievalServicePointFilter', () => ({ RetrievalServicePointFilter: jest.fn((props) => (
)), })); -jest.mock('../../hooks', () => ({ - ...jest.requireActual('../../hooks'), - useRetrievalServicePoints: jest.fn().mockReturnValue([ - { - value: '3a40852d-49fd-4df2-a1f9-6e2641a6e91f', - label: 'Circ desk 1', - }, - { - value: '9d1b77e8-f02e-4b7f-b296-3f2042ddac54', - label: 'Circ desk 2', - }, - ]), -})); jest.mock('@folio/stripes/smart-components', () => ({ CheckboxFilter: jest.fn((props) => (
)), MultiSelectionFilter: jest.fn((props) => (
)),