React Testing Library => within nested queries
Wow, React Testing Library has a within helper to get nested searches on the dom. Check this out with this example:
Then let's say if we want to assert the list of movies that this MyContainer
renders and in the same order as it's been rendered we can:
Real code is way more complex than this example, so this within
helper function turns to be very convenient.