callstack / react-native-testing-library

🦉 Simple and complete React Native testing utilities that encourage good testing practices.
https://callstack.github.io/react-native-testing-library/
MIT License
3.01k stars 264 forks source link

[v13] chore: remove debug shallow #1601

Closed mdjastrzebski closed 1 month ago

mdjastrzebski commented 2 months ago

Summary

Remove legacy debug.shallow(). Since v2 we no longer support shallow rendering, so we remove debug.shallow() as well.

RTL compatibility

debug.shallow() is not present in RTL

Test plan

All checks should pass.

thymikee commented 1 month ago

Feel free to include the shim compatible with React 19 in the PR description, in case someone would want it really bad :P