Add node sync e2e harness and bump 0.5.0
This commit is contained in:
@@ -12,6 +12,7 @@ defmodule Parrhesia.Web.ConnectionTest do
|
||||
alias Parrhesia.Web.Connection
|
||||
|
||||
setup do
|
||||
ensure_repo_started()
|
||||
:ok = Sandbox.checkout(Repo)
|
||||
ensure_stream_runtime_started()
|
||||
:ok
|
||||
@@ -895,6 +896,12 @@ defmodule Parrhesia.Web.ConnectionTest do
|
||||
end
|
||||
end
|
||||
|
||||
defp ensure_repo_started do
|
||||
if is_nil(Process.whereis(Repo)) do
|
||||
start_supervised!(Repo)
|
||||
end
|
||||
end
|
||||
|
||||
defp listener(overrides) do
|
||||
base = %{
|
||||
id: :test,
|
||||
|
||||
Reference in New Issue
Block a user