You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: react-test-renderer: promise returned from findByProps query must be handled #23093
The lint rule in your bug report (testing-library/await-async-query) is for another project, testing-library. That library (and lint rule) are not related to the findByProps method of react-test-renderer. I think the lint rule, in this case, is just a false positive because the method name starts with "findBy".
Reacted by Josias, Michaël De Boey, Hudhaifa, Ryan James, Arefev Maksim, James McGlone, Gabriel Kastenbaum and Alex Coady
Activity
bvaughn commentedon Jan 11, 2022
The lint rule in your bug report (
testing-library/await-async-query) is for another project, testing-library. That library (and lint rule) are not related to thefindByPropsmethod ofreact-test-renderer. I think the lint rule, in this case, is just a false positive because the method name starts with "findBy".