Skip to content

Commit 8dbdb90

Browse files
authored
[Security Solution] [ALL] Eliminates all console.error and console.warn from Jest output (#78523) (#78597)
1 parent b2bc2c2 commit 8dbdb90

File tree

81 files changed

+1126
-1384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1126
-1384
lines changed

x-pack/plugins/security_solution/public/cases/components/add_comment/index.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ import { usePostComment } from '../../containers/use_post_comment';
1717
import { useForm } from '../../../../../../../src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form';
1818
import { useFormData } from '../../../../../../../src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form_data';
1919

20-
// we don't have the types for waitFor just yet, so using "as waitFor" until when we do
21-
import { wait as waitFor } from '@testing-library/react';
20+
import { waitFor } from '@testing-library/react';
2221

2322
jest.mock(
2423
'../../../../../../../src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_form'

0 commit comments

Comments
 (0)