Closed alirezahmz closed 2 years ago
I've never used React Testing Library, but I think people usually use it with Jest, right? If you're using Jest, there are instructions in the README.
If that doesn't work, please provide more information, such as some minimal code I can run to observe the error.
this issue was solved, cause I didn't call indexDB provider correctly in my test wrapper.
I use the react testing library to test and I get an error when I run the test. how to initialize indexDB in react testing library?