Testing library and React context
In many cases, we don't want a one-dimensional testing setup where we test our component and that's it.
Often we want to include some context that affects the render or interacts with actions performed by the user.
Let me set the following example:
W...
h.daily-dev-tips.com3 min read