Skip to content

Commit

Permalink
Revert adding mock for stripesReactHotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
mariia-aloshyna committed Oct 29, 2024
1 parent 3370933 commit d41053c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
* Exclude bulk edit job execution entries from data import log. (UIDATIMP-1665)
* Add "converter-storage.profileSnapshots.get" to "ui-data-import.manage" subPermissions. (UIDATIMP-1672)
* Bump "@folio/stripes-acq-components" version to v6.0.0. (UIDATIMP-1673)
* Mock '@folio/stripes-react-hotkeys' for unit tests

### Bugs fixed:
* Remove `selected` column from associated profiles list. (UIDATIMP-1607)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const history = createMemoryHistory();
history.push = jest.fn();

jest.mock('@folio/stripes/smart-components', () => ({ ...jest.requireActual('@folio/stripes/smart-components') }), { virtual: true });
jest.unmock('@folio/stripes-react-hotkeys');

const recordIdProp = faker.random.uuid;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const {
const mockOnSubmitProp = jest.fn(() => Promise.resolve('test value'));

jest.mock('@folio/stripes/smart-components', () => ({ ...jest.requireActual('@folio/stripes/smart-components') }), { virtual: true });
jest.unmock('@folio/stripes-react-hotkeys');

const renderEditKeyShortcutsWrapper = ({ onSubmit }) => {
const childElement = <span>Child element</span>;
Expand Down
1 change: 0 additions & 1 deletion test/jest/__mock__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ import './reactVirtializedAutoSizer.mock';
import './stripesConfig.mock';
import './stripesIcon.mock';
import './stripesCore.mock';
import './stripesReactHotkeys.mock';
import './stripesSmartComponents.mock';
import './resizeObserver.mock';
4 changes: 0 additions & 4 deletions test/jest/__mock__/stripesReactHotkeys.mock.js

This file was deleted.

0 comments on commit d41053c

Please sign in to comment.