Skip to content
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

Upgrade jest to version 27.x or newer #139265

Closed
watson opened this issue Aug 23, 2022 · 4 comments
Closed

Upgrade jest to version 27.x or newer #139265

watson opened this issue Aug 23, 2022 · 4 comments
Labels
Team:Operations Team label for Operations Team

Comments

@watson
Copy link
Contributor

watson commented Aug 23, 2022

The version of jest we use currently doesn't support all the features of Node.js v16 that Kibana runs on. This produces hard to debug/avoid problems in our tests (e.g. jest v26 doesn't support AbortSignal or AbortController as can be seen in #138877).

Jest v26 also has a bunch of security vulnerabilities in its sub-dependencies. While jest is only used in development this isn't a security concern for Kibana, however it does create quite a lot of noise for scanners that scan our code for vulnerabilities.

Hence we should upgrade jest ASAP in both 8.x and 7.x.

@watson watson added the Team:Operations Team label for Operations Team label Aug 23, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@tylersmalley
Copy link
Contributor

tylersmalley commented Aug 24, 2022

@jbudz is working on this for this current sprint. #120514

@watson
Copy link
Contributor Author

watson commented Oct 10, 2022

Any update to this?

@watson
Copy link
Contributor Author

watson commented Nov 7, 2022

Closed by #139335

@watson watson closed this as completed Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

3 participants