opentelemetry-erlang-contrib/instrumentation/opentelemetry_ecto/test/test_helper.exs

6 lines
135 B
Elixir

OpentelemetryEcto.TestRepo.start_link()
ExUnit.start()
Ecto.Adapters.SQL.Sandbox.mode(OpentelemetryEcto.TestRepo, {:shared, self()})