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
I would like to be able to write a unit test that validates that the set of dig providers is correct to invoke a particular function. Since some providers are RPC clients and DB clients which are required by other injected types, it's impossible to do this without making it an integration test, which feels unnecessarily brittle.
How do you feel about providing a method that just checks the needed items are provided to Invoke something, returning the error that would have been returned otherwise?
The text was updated successfully, but these errors were encountered:
I would like to be able to write a unit test that validates that the set of dig providers is correct to invoke a particular function. Since some providers are RPC clients and DB clients which are required by other injected types, it's impossible to do this without making it an integration test, which feels unnecessarily brittle.
How do you feel about providing a method that just checks the needed items are provided to Invoke something, returning the error that would have been returned otherwise?
The text was updated successfully, but these errors were encountered: