doctest
Closed this issue · 1 comments
MeterSoft commented
Is it possible stub doctest? I need stup HTTPpoison inside doctests
Olshansk commented
I do not recommend mocking foundational libraries in elixir because it is hard to say how they're used by mix, other dependencies or your tests.
If you import HTTPpoison as an external dependency, that can definitely be stubbed inside your project.