Apply quokka single_node rule
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@
|
||||
plugins: [Phoenix.LiveView.HTMLFormatter, Quokka],
|
||||
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}", "priv/*/seeds.exs"],
|
||||
quokka: [
|
||||
only: [:module_directives, :pipes]
|
||||
only: [:module_directives, :pipes, :single_node]
|
||||
]
|
||||
]
|
||||
|
||||
+2
-2
@@ -37,7 +37,7 @@ defmodule LastFm.API do
|
||||
{"#{key}[#{index}]", value}
|
||||
end)
|
||||
end)
|
||||
|> Enum.into(%{})
|
||||
|> Map.new()
|
||||
|
||||
params = Map.merge(params, track_params)
|
||||
|
||||
@@ -68,7 +68,7 @@ defmodule LastFm.API do
|
||||
params =
|
||||
config
|
||||
|> base_params()
|
||||
|> Keyword.merge(method: "artist.getInfo")
|
||||
|> Keyword.put(:method, "artist.getInfo")
|
||||
|> put_musicbrainz_id_or_name(id_or_name_option)
|
||||
|
||||
config
|
||||
|
||||
@@ -10,7 +10,7 @@ defmodule DiscogsTest do
|
||||
expected_info =
|
||||
Fixtures.Artist.get_artist()
|
||||
|
||||
Req.Test.stub(Discogs.API, fn conn = %{request_path: "/artists/discogs_id"} ->
|
||||
Req.Test.stub(Discogs.API, fn %{request_path: "/artists/discogs_id"} = conn ->
|
||||
Req.Test.json(conn, Fixtures.Artist.get_artist())
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user