From 568ee3e681681063a3cd3a8b9ea7a25c1df30ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Sat, 11 Nov 2023 11:19:00 -0300 Subject: [PATCH] test: fix --- src/taxonomy/tag-list/TagListTable.test.jsx | 2 +- src/taxonomy/taxonomy-detail/TaxonomyDetailPage.test.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = () => (