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
Mox requires you to add behaviors and substitute modules globally in the test scope. While it can be true from an idealistic perspective, on the practice:
it leads to dynamic resolution of modules. This is bad for dialyzer and autocompletion.
it makes code more complex, especially for simple services that are dealing with multiple remote resources.
I may want to have tests that are calling to real external API, just exclude them from CI
It would be cool if it was possible to use mock with
async: true
in tests. Mox supports this.The text was updated successfully, but these errors were encountered: