-
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
[Alerting] Fixed Jest test suites with unhandled promise rejections #113213
[Alerting] Fixed Jest test suites with unhandled promise rejections #113213
Conversation
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice job :)
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @YulNaumenko |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…lastic#113213) * [Alerting] Fixed Jest test suites with unhandled promise rejections * fixed typecheck
Summary
Current PR fixed
UnhandledPromiseRejectionWarning: ...
which caused in the next Alerting jest tests: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
To test it just run each suite using command:
Resolves #112703