diff options
Diffstat (limited to 'test/test_helper.exs')
-rw-r--r-- | test/test_helper.exs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test_helper.exs b/test/test_helper.exs index 27b777d5f..a117584ae 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -4,8 +4,16 @@ Code.put_compiler_option(:warnings_as_errors, true) +ExUnit.configure(max_cases: System.schedulers_online()) + ExUnit.start(exclude: [:federated, :erratic]) +if match?({:unix, :darwin}, :os.type()) do + excluded = ExUnit.configuration() |> Keyword.get(:exclude, []) + excluded = excluded ++ [:skip_darwin] + ExUnit.configure(exclude: excluded) +end + Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual) Mox.defmock(Pleroma.ReverseProxy.ClientMock, for: Pleroma.ReverseProxy.Client) |