Don't run LastFm.Feed in tests

This commit is contained in:
Claudio Ortolina
2024-11-04 09:45:05 +00:00
parent a0543de1f2
commit d818cdbae5
7 changed files with 34 additions and 7 deletions
+7
View File
@@ -0,0 +1,7 @@
defmodule LastFm.APIBehaviour do
alias LastFm.Track
@type user :: String.t()
@type api_key :: String.t()
@callback get_recent_tracks(user, api_key) :: {:ok, [%Track{}]} | {:error, String.t()}
end