mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Closes https://github.com/elastic/kibana/issues/157436 Unblocks: https://github.com/elastic/kibana/pull/157111 # Backport This will backport the following commits from `main` to `7.17`: - [Upgrade to Jest 29 (#143319)](https://github.com/elastic/kibana/pull/143319) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jonathan Budzenski","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2022-11-18T15:40:16Z","message":"Upgrade to Jest 29 (#143319)\n\nhttps://jestjs.io/blog/2022/04/25/jest-28\r\nhttps://jestjs.io/blog/2022/08/25/jest-29\r\n\r\n- jest.useFakeTimers('legacy') -> jest.useFakeTimers({ legacyFakeTimers:\r\ntrue });\r\n- jest.useFakeTimers('modern'); -> jest.useFakeTimers();\r\n- tests can either use promises or callbacks, but not both\r\n- test runner jasmine is no longer included, switch all suites to\r\njest-circus\r\n\r\nCo-authored-by: Andrew Tate <andrew.tate@elastic.co>","sha":"2ac7ebe3bf9bd3a8e18c71df5f7c51541ecec339","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","Feature:Embedding","Team:APM","Feature:ExpressionLanguage","Team:uptime","release_note:skip","backport:skip","Team:Fleet","v8.7.0"],"number":143319,"url":"https://github.com/elastic/kibana/pull/143319","mergeCommit":{"message":"Upgrade to Jest 29 (#143319)\n\nhttps://jestjs.io/blog/2022/04/25/jest-28\r\nhttps://jestjs.io/blog/2022/08/25/jest-29\r\n\r\n- jest.useFakeTimers('legacy') -> jest.useFakeTimers({ legacyFakeTimers:\r\ntrue });\r\n- jest.useFakeTimers('modern'); -> jest.useFakeTimers();\r\n- tests can either use promises or callbacks, but not both\r\n- test runner jasmine is no longer included, switch all suites to\r\njest-circus\r\n\r\nCo-authored-by: Andrew Tate <andrew.tate@elastic.co>","sha":"2ac7ebe3bf9bd3a8e18c71df5f7c51541ecec339"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/143319","number":143319,"mergeCommit":{"message":"Upgrade to Jest 29 (#143319)\n\nhttps://jestjs.io/blog/2022/04/25/jest-28\r\nhttps://jestjs.io/blog/2022/08/25/jest-29\r\n\r\n- jest.useFakeTimers('legacy') -> jest.useFakeTimers({ legacyFakeTimers:\r\ntrue });\r\n- jest.useFakeTimers('modern'); -> jest.useFakeTimers();\r\n- tests can either use promises or callbacks, but not both\r\n- test runner jasmine is no longer included, switch all suites to\r\njest-circus\r\n\r\nCo-authored-by: Andrew Tate <andrew.tate@elastic.co>","sha":"2ac7ebe3bf9bd3a8e18c71df5f7c51541ecec339"}}]}] BACKPORT--> --------- Co-authored-by: Tiago Costa <tiago.costa@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel | ||
jest.config.js | ||
package.json | ||
tsconfig.json |