Skip to content

Commit

Permalink
fix lint/type
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic committed Jan 9, 2025
1 parent 655a3d0 commit 12c37bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { renderHook } from '@testing-library/react-hooks';
import { renderHook } from '@testing-library/react';
import { useGetProductDocStatus } from './use_get_product_doc_status';
import { useAssistantContext } from '../../../..';
import { TestProviders } from '../../../mock/test_providers/test_providers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { renderHook } from '@testing-library/react-hooks';
import { renderHook } from '@testing-library/react';
import { useInstallProductDoc } from './use_install_product_doc';
import { useAssistantContext } from '../../../..';
import { TestProviders } from '../../../mock/test_providers/test_providers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ const TestExternalProvidersComponent: React.FC<TestExternalProvidersProps> = ({
http={mockHttp}
baseConversations={{}}
navigateToApp={mockNavigateToApp}
productDocBase={{
installation: { getStatus: jest.fn(), install: jest.fn(), uninstall: jest.fn() },
}}
currentAppId={'securitySolutionUI'}
userProfileService={jest.fn() as unknown as UserProfileService}
chrome={chrome}
Expand Down

0 comments on commit 12c37bf

Please sign in to comment.