Is there a way to test that sub-components/children of React element are not crossing the parent outline?
For example:
in the above picture, the test should fail as the child is crossing the outline of the parent
Code Sandbox with the components
Note:
Using the element .getBoundingClientRect() return 0 for all properties (top, bottom, left, right, etc...)
