Update the test configuration to allow run server during tests.

This commit is contained in:
2025-03-18 18:33:43 +02:00
parent 85993dbe9a
commit 52ff683c2d
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
defmodule DecentralisedBookIndex.TestEndpoints do
@moduledoc "Test API endpoint for tests"
@test_api_endpoint "http://localhost:4002"
@doc """
Returns the url of test API endpoint.
"""
def test_api_endpoint(_opts \\ []) do
@test_api_endpoint
end
end