Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[React@18] Improve console.error suppression in react-testing-library…
… setup (elastic#201142) (elastic#202600) In addition to changes introduced by elastic#201142 Reasoning: This pull request includes changes to the `packages/kbn-test/src/jest/setup/react_testing_library.js` file to improve internal error logging suppression from react-testing-library. In particular, [this](https://github.com/testing-library/react-hooks-testing-library/blob/1e01273374af4e48a0feb1f2233bf6c76d742167/src/core/console.ts#L1-L4) suppression logic has been migrated to avoid breaking devUX expectations. Tested against elastic#201142 code changes
- Loading branch information