The render function from React Testing Library renders a component into a test DOM so queries and assertions can inspect it.