mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
12f786810c
* Remove `two_factor` feature flag * Avoid compilation warnings in small build
15 lines
516 B
Elixir
15 lines
516 B
Elixir
{:ok, _} = Application.ensure_all_started(:ex_machina)
|
|
Mox.defmock(Plausible.HTTPClient.Mock, for: Plausible.HTTPClient.Interface)
|
|
Application.ensure_all_started(:double)
|
|
FunWithFlags.enable(:business_tier)
|
|
FunWithFlags.enable(:window_time_on_page)
|
|
Ecto.Adapters.SQL.Sandbox.mode(Plausible.Repo, :manual)
|
|
|
|
if Mix.env() == :small_test do
|
|
IO.puts("Test mode: SMALL")
|
|
ExUnit.configure(exclude: [:slow, :full_build_only])
|
|
else
|
|
IO.puts("Test mode: FULL")
|
|
ExUnit.configure(exclude: [:slow, :small_build_only])
|
|
end
|