[7.17] Remove Agent Debug Info (#187126) #187805
Merged
checks-reporter / Jest Unit Tests 7
succeeded
Jul 8, 2024 in 16m 42s
.buildkite/scripts/steps/test/jest_parallel.sh jest.config.js
Details
[truncated]
(hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
75 | break;
76 | }
> 77 | setHasAppData((prevState) => ({ ...prevState, [dataType]: hasDataT }));
| ^
78 |
79 | if (hasDataT && indices) {
80 | const obsvIndexP = new ObservabilityIndexPatterns(data);
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setHasAppData (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:77:11)
console.error
Warning: An update to IndexPatternContextProvider inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
in IndexPatternContextProvider (created by MockKibanaProvider)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by MockKibanaProvider)
in ThemeProvider (created by EuiThemeProvider)
in EuiThemeProvider (created by MockKibanaProvider)
in Provider (created by MockKibanaProvider)
in MockKibanaProvider (created by MockRouter)
in Route (created by MockRouter)
in Router (created by MockRouter)
in MockRouter
83 | setIndexPatterns((prevState) => ({ ...prevState, [dataType]: indPattern }));
84 | }
> 85 | setLoading((prevState) => ({ ...prevState, [dataType]: false }));
| ^
86 | } catch (e) {
87 | if ((e as HttpFetchError).body.error === 'Forbidden') {
88 | setIndexPatternErrors((prevState) => ({ ...prevState, [dataType]: e }));
at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
at setLoading (x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx:85:11)
PASS x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/data_type_select.test.tsx
PASS x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/core_web_vitals_config.test.ts
PASS x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/selected_filters.test.tsx
PASS x-pack/plugins/observability/public/utils/format_stat_value.test.ts
PASS x-pack/plugins/observability/public/components/app/section/helper.test.ts
PASS x-pack/plugins/observability/public/components/shared/exploratory_view/header/chart_creation_info.test.tsx
PASS x-pack/plugins/observability/public/components/app/chart_container/index.test.tsx
PASS x-pack/plugins/observability/public/components/app/cases/callout/helpers.test.tsx
PASS x-pack/plugins/observability/public/components/app/section/metrics/lib/format_duration.test.ts
PASS x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.test.tsx
PASS x-pack/plugins/observability/public/components/shared/header_menu_portal.test.tsx
PASS x-pack/plugins/observability/public/components/app/resources/index.test.tsx
PASS x-pack/plugins/observability/public/utils/get_apm_trace_url.test.ts
Test Suites: 3 skipped, 68 passed, 68 of 71 total
Tests: 10 skipped, 293 passed, 303 total
Snapshots: 12 passed, 12 total
Time: 152.269 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/saved_objects_tagging/jest.config.js
PASS x-pack/plugins/saved_objects_tagging/public/services/tags/tags_client.test.ts (5.369 s)
PASS x-pack/plugins/saved_objects_tagging/server/services/assignments/assignment_service.test.ts (10.301 s)
PASS x-pack/plugins/saved_objects_tagging/server/services/tags/tags_client.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/plugin.test.ts (18.669 s)
PASS x-pack/plugins/saved_objects_tagging/public/services/tags/tags_cache.test.ts
PASS x-pack/plugins/saved_objects_tagging/server/services/tags/validate_tag.test.ts
PASS x-pack/plugins/saved_objects_tagging/common/references.test.ts
PASS x-pack/plugins/saved_objects_tagging/server/plugin.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/services/assignments/assignment_service.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/management/actions/index.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/ui_api/get_search_bar_filter.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/utils.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/utils.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/ui_api/parse_search_query.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/compute_changes.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/index.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/management/bulk_actions/bulk_delete.test.ts
PASS x-pack/plugins/saved_objects_tagging/common/validation.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/ui_api/get_table_column_definition.test.ts
PASS x-pack/plugins/saved_objects_tagging/server/services/assignments/utils.test.ts
PASS x-pack/plugins/saved_objects_tagging/common/capabilities.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/management/utils/get_tag_connections_url.test.ts
PASS x-pack/plugins/saved_objects_tagging/server/services/tags/errors.test.ts
PASS x-pack/plugins/saved_objects_tagging/public/components/assign_flyout/lib/parse_query.test.ts
PASS x-pack/plugins/saved_objects_tagging/server/usage/schema.test.ts
PASS x-pack/plugins/saved_objects_tagging/server/services/assignments/errors.test.ts
Test Suites: 26 passed, 26 total
Tests: 162 passed, 162 total
Snapshots: 13 passed, 13 total
Time: 49.745 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/public/hosts/jest.config.js
PASS x-pack/plugins/security_solution/public/hosts/components/uncommon_process_table/index.test.tsx (78.56 s)
PASS x-pack/plugins/security_solution/public/hosts/pages/details/details_tabs.test.tsx
PASS x-pack/plugins/security_solution/public/hosts/components/first_last_seen_host/index.test.tsx
PASS x-pack/plugins/security_solution/public/hosts/pages/hosts.test.tsx (6.172 s)
PASS x-pack/plugins/security_solution/public/hosts/components/hosts_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/hosts/components/authentications_table/index.test.tsx
PASS x-pack/plugins/security_solution/public/hosts/store/helpers.test.ts
PASS x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts
PASS x-pack/plugins/security_solution/public/hosts/pages/nav_tabs.test.tsx
PASS x-pack/plugins/security_solution/public/hosts/pages/details/nav_tabs.test.tsx
Test Suites: 10 passed, 10 total
Tests: 57 passed, 57 total
Snapshots: 3 passed, 3 total
Time: 99.999 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/scripts/jest.config.js
PASS x-pack/plugins/security_solution/scripts/junit_transformer/junit_transformer.test.ts
junit_transformer
✓ updates the file in place, applying the expected transformation (41 ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 1 passed, 1 total
Time: 3.461 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/security_solution/server/search_strategy/jest.config.js
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/all/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/all/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/details/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/details/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/authentications/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/authentications/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/last_first_seen/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/last_first_seen/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/overview/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/overview/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/uncommon_processes/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/uncommon_processes/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/dns/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/dns/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/details/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/details/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/http/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/http/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/overview/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/overview/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/tls/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/tls/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_countries/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_countries/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_n_flow/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_n_flow/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/users/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/users/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/__mocks__/index.ts
jest-haste-map: duplicate manual mock found: index
The following files share their name; please delete one of them:
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/__mocks__/index.ts
* <rootDir>/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/__mocks__/index.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/index.test.ts (5.003 s)
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/uncommon_processes/helpers.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/cti/event_enrichment/helpers.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/helpers.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/cti/event_enrichment/response.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/cti/event_enrichment/query.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/authentications/helpers.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/all/helpers.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/details/helper.test.ts (13.864 s)
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/query.events_histogram.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/last_first_seen/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/details/index.test.tsx
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/uncommon_processes/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/authentications/index.test.tsx
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/users/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/all/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_countries/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/overview/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/details/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_n_flow/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/overview/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/tls/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/dns/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/http/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/index.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/query.authentications_histogram.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/users/helpers.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/query.anomalies_histogram.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/overview/query.overview_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/query.alerts_histogram.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_countries/query.top_countries_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/details/query.details_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/last_first_seen/query.first_or_last_seen_host.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/query.dns_histogram.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/details/query.host_details.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/top_n_flow/query.top_n_flow_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/tls/query.tls_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/overview/query.overview_host.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/users/query.users_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/all/query.all_hosts.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/http/query.http_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/network/dns/query.dns_network.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/uncommon_processes/dsl/query.dsl.test.ts
PASS x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/authentications/dsl/query.dsl.test.ts
Test Suites: 50 passed, 50 total
Tests: 129 passed, 129 total
Snapshots: 0 total
Time: 39.076 s
Ran all test suites.
--- $ node scripts/jest --config x-pack/plugins/timelines/jest.config.js
PASS x-pack/plugins/timelines/server/search_strategy/index_fields/index.test.ts (20.712 s)
PASS x-pack/plugins/timelines/public/components/t_grid/helpers.test.tsx (24.748 s)
PASS x-pack/plugins/timelines/server/search_strategy/timeline/eql/helpers.test.ts
PASS x-pack/plugins/timelines/server/search_strategy/timeline/factory/events/all/helpers.test.ts
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/helpers.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/helpers.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/column_headers/header/index.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/field_items.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/column_headers/index.test.tsx
PASS x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/index.test.tsx (20.034 s)
● Console
console.error
Warning: Failed prop type: The prop `display` is marked as required in `EuiDataGridColumnSortingDraggable`, but its value is `undefined`.
in EuiDataGridColumnSortingDraggable (created by EuiDataGrid)
in EuiDataGrid
in div (created by styled.div)
in styled.div
in Unknown
in Provider (created by App)
in App (created by ErrorBoundary)
in ErrorBoundary (created by DragDropContext)
in DragDropContext (created by TestProvidersComponent)
in ThemeProvider (created by TestProvidersComponent)
in Provider (created by TestProvidersComponent)
in Provider
in Unknown (created by TestProvidersComponent)
in PseudoLocaleWrapper (created by I18nProvider)
in IntlProvider (created by I18nProvider)
in I18nProvider (created by TestProvidersComponent)
in TestProvidersComponent (created by WrapperComponent)
in WrapperComponent
26 |
27 | const mountAppended: MountAppended = (node, options) =>
> 28 | mount(node, { ...options, attachTo: root });
| ^
29 |
30 | return mountAppended;
31 | };
at printWarning (node_modules/prop-types/checkPropTypes.js:20:15)
at checkPropTypes (node_modules/prop-types/checkPropTypes.js:83:11)
at validatePropTypes (node_modules/react/cjs/react.development.js:1714:7)
at Object.createElementWithValidation [as createElement] (node_modules/react/cjs/react.development.js:1813:5)
at node_modules/@elastic/eui/test-env/components/datagrid/controls/column_sorting.js:170:40
at Array.map (<anonymous>)
at useDataGridColumnSorting (node_modules/@elastic/eui/test-env/components/datagrid/controls/column_sorting.js:167:87)
at EuiDataGrid (node_modules/@elastic/eui/test-env/components/datagrid/data_grid.js:564:62)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14803:18)
at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:17482:13)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18596:16)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
at node_modules/react-dom/cjs/react-dom.development.js:24758:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
at mount (node_modules/enzyme/src/mount.js:10:10)
at mountAppended (x-pack/plugins/timelines/public/components/utils/use_mount_appended.ts:28:10)
at Object.mount (x-pack/plugins/timelines/public/components/t_grid/body/index.test.tsx:201:23)
PASS x-pack/plugins/timelines/public/components/inspect/modal.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/field_browser.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/footer/index.test.tsx
PASS x-pack/plugins/timelines/common/utils/field_formatters.test.ts
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/index.test.tsx
PASS x-pack/plugins/timelines/public/components/actions/timeline/cases/add_to_case_action.test.tsx
PASS x-pack/plugins/timelines/public/store/t_grid/helpers.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/data_driven_columns/stateful_cell.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/category_columns.test.tsx
PASS x-pack/plugins/timelines/public/components/empty_value/empty_value.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/search.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/events/event_column_view.test.tsx
PASS x-pack/plugins/timelines/public/components/inspect/index.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/fields_pane.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/sort/sort_indicator.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/category.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/control_columns/checkbox.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/column_headers/header_tooltip_content/index.test.tsx
PASS x-pack/plugins/timelines/public/components/utils/keury/index.test.ts
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/category_title.test.tsx
PASS x-pack/plugins/timelines/common/search_strategy/eql/validation/helpers.test.ts
PASS x-pack/plugins/timelines/public/hooks/use_add_to_case.test.ts
PASS x-pack/plugins/timelines/common/utils/accessibility/helpers.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/subtitle/index.test.tsx
PASS x-pack/plugins/timelines/public/components/exit_full_screen/index.test.tsx
PASS x-pack/plugins/timelines/common/ecs/ecs_fields/extend_map.test.ts
PASS x-pack/plugins/timelines/public/components/t_grid/integrated/index.test.tsx
PASS x-pack/plugins/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.test.ts
PASS x-pack/plugins/timelines/public/components/t_grid/body/data_driven_columns/index.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/field_name.test.tsx
PASS x-pack/plugins/timelines/public/components/actions/timeline/cases/toaster_content.test.tsx
PASS x-pack/plugins/timelines/public/components/hover_actions/actions/overflow.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/toolbar/fields_browser/categories_pane.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/body/renderers/plain_row_renderer.test.tsx
PASS x-pack/plugins/timelines/public/components/actions/timeline/cases/helpers.test.tsx
PASS x-pack/plugins/timelines/public/components/truncatable_text/index.test.tsx
PASS x-pack/plugins/timelines/public/components/last_updated/index.test.tsx
PASS x-pack/plugins/timelines/public/components/actions/timeline/cases/create/flyout.test.tsx
PASS x-pack/plugins/timelines/public/components/t_grid/event_rendered_view/index.test.tsx
Test Suites: 51 passed, 51 total
Tests: 5 skipped, 412 passed, 417 total
Snapshots: 22 passed, 22 total
Time: 129.604 s
Ran all test suites.
Loading