# L3 tests require PostgreSQL — excluded by default # Run with: SHORASHIM_L3=1 mix test --include l3 ExUnit.start(exclude: [:l3]) # The manna ledger resumes a day it finds on disk (ledger.json). A run # that was interrupted could leave one behind; no test should inherit it. if Process.whereis(VavPipeline.MannaLedger), do: VavPipeline.MannaLedger.reset() if System.get_env("SHORASHIM_L3") do {:ok, _} = VavPipeline.Repo.start_link() Ecto.Adapters.SQL.Sandbox.mode(VavPipeline.Repo, :manual) end