mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fixes a needed import that was coming from APM but now isolates things better for optimization import builds
## Summary Adds a single line to work with ts config optimizers. What is happening is that this is relying on an import from here: ``` x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx ``` when really it should be isolated and imported within this file. Testing is just to go to siem and run these commands: ```ts cd /projects/kibana node x-pack/legacy/plugins/siem/scripts/optimize_tsconfig.js node scripts/type_check.js --project x-pack/tsconfig.json ``` Ensure you don't see any errors.
This commit is contained in:
parent
783e3c17a9
commit
834306458a
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ import { HealthCheck } from './health_check';
|
|||
|
||||
import { act } from 'react-dom/test-utils';
|
||||
import { httpServiceMock } from '../../../../../../src/core/public/mocks';
|
||||
import '@testing-library/jest-dom/extend-expect';
|
||||
|
||||
const docLinks = { ELASTIC_WEBSITE_URL: 'elastic.co/', DOC_LINK_VERSION: 'current' };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue