You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #58095 we switched to the jest-environment-jsdom-thirteen package because at the time Jest was stuck on version 11 of JSDOM, they have since upgraded their version and we can now switch back over to the standard jest-environment-jsdom package which includes several other new features (like the "modern" timer mocks).
I'm taking on the first step of this process in #95125 by changing the default testEnvironment, but there are several plugins which don't work with the updated env so I'll be pinning their Jest projects to jest-environment-jsdom-thirteen and we can upgrade them independently.
In #58095 we switched to the
jest-environment-jsdom-thirteen
package because at the time Jest was stuck on version 11 of JSDOM, they have since upgraded their version and we can now switch back over to the standardjest-environment-jsdom
package which includes several other new features (like the "modern" timer mocks).I'm taking on the first step of this process in #95125 by changing the default testEnvironment, but there are several plugins which don't work with the updated env so I'll be pinning their Jest projects to
jest-environment-jsdom-thirteen
and we can upgrade them independently.x-pack/plugins/global_search_bar/jest.config.js
[jest/globalSearchBar] Switch to jest-environment-jsdom #95200x-pack/plugins/security_solution/jest.config.js
[jest/securitySolution] Switch to jest-environment-jsdom #95201x-pack/plugins/lens/jest.config.js
[jest/lens] Switch to jest-environment-jsdom #95202The text was updated successfully, but these errors were encountered: