kibana/packages/kbn-typed-react-router-config
Brad White 72774f01b5
[7.17] Upgrade to Jest 29 (#143319) (#158607)
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>
2023-06-09 16:25:26 -07:00
..
src [7.17] Upgrade Typescript to 4.3.5 (#104470) (#158788) 2023-06-01 02:35:54 +01:00
BUILD.bazel [7.17] Upgrade to Jest 29 (#143319) (#158607) 2023-06-09 16:25:26 -07:00
jest.config.js [7.x] [APM] Typed client-side routing (#104274) (#105745) 2021-07-15 10:16:44 -04:00
package.json [7.x] [APM] Typed client-side routing (#104274) (#105745) 2021-07-15 10:16:44 -04:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00