mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
12 lines
370 B
Elixir
12 lines
370 B
Elixir
Application.load(:teslamate)
|
|
|
|
for app <- Application.spec(:teslamate, :applications) do
|
|
{:ok, _} = Application.ensure_all_started(app)
|
|
end
|
|
|
|
TeslaMate.Repo.start_link()
|
|
Phoenix.PubSub.Supervisor.start_link(name: TeslaMate.PubSub)
|
|
|
|
assert_timeout = String.to_integer(System.get_env("ELIXIR_ASSERT_TIMEOUT") || "300")
|
|
ExUnit.start(assert_receive_timeout: assert_timeout)
|