React Testing Library: Test if Elements have been mapped/rendered-技术分享-码神部落
Issue: I have a list of Items that I want to test by each one of the items name value (string). I'm using @testing-library/react and have the test suite correctly working, but I can't get my test to work. Overview: Each item has a test id of data-testid="side-menu-link".