Tell me please how to mock/stub methods of
Repo module for my tests?
link = Repo.get_by(Link, short_url: url) db_count = Repo.aggregate(Link, :count, :id)
I need that
10000000000 for my tests. The same with
How to do it?
And what is the best approach for module isolation in tests in Elixir?