-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jest test suites with unhandled promise rejections #112699
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
@elastic/kibana-gis tests fixed in #112712 |
I've fixed the tests for @elastic/workplace-search-frontend will update when they have addressed the issue in |
Workplace Search has been completed in #112840 |
APM ui completed in #114233 |
Stack management completed in #115362 |
@jbudz, since the last remaining task is for @elastic/kibana-presentation - mind creating an issue for them and we can close this issue assigned to us out? |
Moved to #126000. Thanks everyone. |
As part of the upgrade to Node 16, unhandled promise rejections now cause the process to exit. The following test suites cause unhandled promise rejections, and need to be fixed before we can proceed with the upgrade:
Update: The following suites have now been skipped
@elastic/kibana-presentation
src/plugins/dashboard/public/application/embeddable/grid/dashboard_grid.test.tsx
src/plugins/dashboard/public/application/embeddable/viewport/dashboard_viewport.test.tsx
@elastic/kibana-stack-management
x-pack/plugins/index_management/__jest__/client_integration/home/indices_tab.test.ts
@elastic/uptime
x-pack/plugins/uptime/public/components/fleet_package/custom_fields.test.tsx
[Uptime] fix unhandled promise rejections in jest tests #114687@elastic/security-solution
x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.test.ts
x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.test.tsx
@elastic/kibana-alerting-services
x-pack/plugins/stack_alerts/server/plugin.test.ts
Re-enable skipped unit tests due to migration to Node 16 #115846@elastic/kibana-core #112806
src/core/server/http/router/socket.test.ts
@elastic/kibana-app-services
src/plugins/data/common/search/search_source/search_source.test.ts
src/plugins/data/server/search/search_service.test.ts
@elastic/apm-ui #112895
x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx
@elastic/enterprise-search-frontend #112742, #112840
x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts
x-pack/plugins/enterprise_search/public/applications/workplace_search/views/account_settings/account_settings.test.tsx
@elastic/kibana-gis #112712
x-pack/plugins/maps/public/connected_components/edit_layer_panel/edit_layer_panel.test.tsx
x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry.test.tsx
@elastic/ml-ui #112804
x-pack/plugins/ml/public/application/components/validate_job/validate_job_view.test.js
x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.test.js
x-pack/plugins/ml/server/models/bucket_span_estimator/bucket_span_estimator.test.ts
@elastic/kibana-alerting-services #112703
x-pack/plugins/stack_alerts/server/feature.test.ts
x-pack/plugins/stack_alerts/server/plugin.test.ts
x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx
x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts
@elastic/security-onboarding-and-lifecycle-mgt
x-pack/plugins/security_solution/public/management/components/search_exceptions/search_exceptions.test.tsx
The text was updated successfully, but these errors were encountered: