Extends react-testing-library by including additional functionality for more natural testing.
MIT License
Extends react-testing-library by including additional functionality for more natural testing.
yarn add --dev react-testing-extended
Follow the react-testing-library documentation, but instead of importing @testing-library/react, import "react-testing-extended"
.
In additional to the react-testing-library documentation, this library adds the following:
id
Selectorsclass
SelectorsThis library will follow the major version numbering of react-testing-library.