diff --git a/src/taxonomy/tag-list/TagListTable.test.jsx b/src/taxonomy/tag-list/TagListTable.test.jsx index 8f29bca07b..e9d5015dd4 100644 --- a/src/taxonomy/tag-list/TagListTable.test.jsx +++ b/src/taxonomy/tag-list/TagListTable.test.jsx @@ -10,7 +10,7 @@ import TagListTable from './TagListTable'; let store; -jest.mock('../api/hooks/api', () => ({ +jest.mock('./data/api', () => ({ useTagListData: jest.fn(), })); diff --git a/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx b/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx index dff4b3c953..085ea59b85 100644 --- a/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx +++ b/src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx @@ -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 = () => (