|
|
|
|
@ -4,6 +4,14 @@ Application.ensure_all_started(:double)
|
|
|
|
|
FunWithFlags.enable(:window_time_on_page)
|
|
|
|
|
FunWithFlags.enable(:imports_exports)
|
|
|
|
|
FunWithFlags.enable(:shield_pages)
|
|
|
|
|
|
|
|
|
|
# Temporary flag to test `experimental_reduced_joins` flag on all tests.
|
|
|
|
|
if System.get_env("TEST_EXPERIMENTAL_REDUCED_JOINS") == "1" do
|
|
|
|
|
FunWithFlags.enable(:experimental_reduced_joins)
|
|
|
|
|
else
|
|
|
|
|
FunWithFlags.disable(:experimental_reduced_joins)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
Ecto.Adapters.SQL.Sandbox.mode(Plausible.Repo, :manual)
|
|
|
|
|
|
|
|
|
|
if Mix.env() == :small_test do
|
|
|
|
|
@ -13,10 +21,3 @@ else
|
|
|
|
|
IO.puts("Test mode: FULL")
|
|
|
|
|
ExUnit.configure(exclude: [:slow, :minio, :small_build_only])
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# Temporary flag to test `experimental_reduced_joins` flag on all tests.
|
|
|
|
|
if System.get_env("TEST_EXPERIMENTAL_REDUCED_JOINS") == "1" do
|
|
|
|
|
FunWithFlags.enable(:experimental_reduced_joins)
|
|
|
|
|
else
|
|
|
|
|
FunWithFlags.disable(:experimental_reduced_joins)
|
|
|
|
|
end
|
|
|
|
|
|