Skip to content

Commit 4679ef3

Browse files
committed
test: fix tests
1 parent 6c4d6bb commit 4679ef3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/library-authoring/import-course/stepper/ImportStepperPage.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jest.mock('react-router-dom', () => ({
3434
// Mock the useGetBlockTypes hook
3535
jest.mock('@src/search-manager', () => ({
3636
useGetBlockTypes: jest.fn().mockReturnValue({ isPending: true, data: null }),
37+
useGetContentHits: jest.fn().mockReturnValue({ isPending: true, data: null }),
3738
}));
3839

3940
const renderComponent = (studioHomeState: Partial<StudioHomeState> = {}) => {

0 commit comments

Comments
 (0)