DEV Community

Discussion on: What's the issue with the MockedProvider component?

Collapse
 
teachingtls profile image
teachingtechleads

Thanks for the tip, Wojciech.

I looked into the library you referenced for a few minutes and found that @testing-library/react has a wait() function, which is documented as a small wrapper around the await-for expect module.

I don't think that is much gained from using it. There's even a callout in the readme about suppressing the very warning that I'm complaining about.