Add BraveSearch facade tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
defmodule BraveSearch.Fixtures do
|
||||
@moduledoc false
|
||||
|
||||
@fixtures_folder Path.join([File.cwd!(), "test/support/fixtures/brave_search"])
|
||||
|
||||
@search_images_response Path.join([@fixtures_folder, "search_images_response.json"])
|
||||
|> File.read!()
|
||||
|> JSON.decode!()
|
||||
|
||||
def search_images_response, do: @search_images_response
|
||||
end
|
||||
Reference in New Issue
Block a user