Use Screen.Logtestingplaygroundurl() To Create Your Queries In React Testing Library
Topic | Source |
---|---|
๐งฉ React | [React Testing Library and Jest: The Complete Guide |
screen.logTestingPlaygroundUrl()
creates an interactive playground of the current markup you are rendering and gives you perfect queries to get every element.