Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Nov 11, 2023
1 parent 0e25638 commit 568ee3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/taxonomy/tag-list/TagListTable.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import TagListTable from './TagListTable';

let store;

jest.mock('../api/hooks/api', () => ({
jest.mock('./data/api', () => ({
useTagListData: jest.fn(),
}));

Expand Down
2 changes: 1 addition & 1 deletion src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jest.mock('react-router-dom', () => ({
}));

jest.mock('./TaxonomyDetailSideCard', () => jest.fn(() => <>Mock TaxonomyDetailSideCard</>));
jest.mock('./TagListTable', () => jest.fn(() => <>Mock TagListTable</>));
jest.mock('../tag-list/TagListTable', () => jest.fn(() => <>Mock TagListTable</>));

const RootWrapper = () => (
<AppProvider store={store}>
Expand Down

0 comments on commit 568ee3e

Please sign in to comment.