Tim Kindberg
Tim Kindberg
Can I see a bit of your code and unit test code? I just added unit tests and they are passing without any code changes. How is your test different...
Looks like `jest-mocked-extended` has some built-in support for `calledWith` behavior as well. Have you tried that?
It would help if you could remove the extra libraries from your example.
I appreciate the effort on this. :) I'm thinking it's a bit awkward to set a global `when.expectCallShouldAssert` in order to change the behavior of the library in this fashion....
Thanks for the write up and sharing your thoughts :) Let me see... 🤔 --- > but if I were more okay with writing boilerplate, I wouldn't have found this...
Ok I think the request is clear to me now... particularly the need to set up some non-asserted calls in a beforeEach that may or may not be called in...
Hmm ok I think maybe if we can have an elegant name for it ... and I wonder should we just auto revert it in our own `afterEach` so the...
I think we could even make lazy expect calls the default in the next major version... and then have a `when.eagerExpectCalls()` method that enables immediate assertions.
Whoops didn’t mean to add the “No need for a Provider” part!
Would this help? https://github.com/dai-shi/use-context-selector