mojotech / PrismatestJS

Decouple your front-end application tests from the view implementation and make them easier to read and write.
MIT License
8 stars 1 forks source link

React-testing-library adapter #2

Open RocketPuppy opened 5 years ago

RocketPuppy commented 4 years ago

I think I can use the byRole selector in react-testing-library https://testing-library.com/docs/dom-testing-library/api-queries#byrole to implement all of the default test views. The only tricky bit is differentiating between single-select and multi-select.