Update react-testing-library
Update react-testing-library
-
react-testing-library
was renamed to@testing-library/react
-
import 'react-testing-library/cleanup-after-each'
is no longer needed - Use
screen
in example component as recommended
Update react-testing-library
react-testing-library
was renamed to @testing-library/react
import 'react-testing-library/cleanup-after-each'
is no longer neededscreen
in example component as recommended