I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
The selectors are working by default with screen from React testing library. However, there is no way how to use them with within functionality. Would it be possible to add an optional parameter for this (by default it would be screen)?
I just realized that every "query" like byText etc. has an optional parameter 'container' that works like within. I apologize for my incaution. Closing.
I'm submitting a ... [ ] bug report [x] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary The selectors are working by default with
screen
from React testing library. However, there is no way how to use them withwithin
functionality. Would it be possible to add an optional parameter for this (by default it would bescreen
)?