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
Unit testing anything with global variables is a real pain, and it would make life a lot easier if each package would expose Client as an interface and then use something like https://github.com/vektra/mockery to generate mocks for all the clients so that proper testing can be easily implemented.
The text was updated successfully, but these errors were encountered:
Unit testing anything with global variables is a real pain, and it would make life a lot easier if each package would expose
Client
as an interface and then use something like https://github.com/vektra/mockery to generate mocks for all the clients so that proper testing can be easily implemented.The text was updated successfully, but these errors were encountered: