mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-10-30 05:57:10 +00:00
17 lines
455 B
Elixir
17 lines
455 B
Elixir
# Simplified test helper to debug test startup issues
|
|
ExUnit.start()
|
|
|
|
# Import Mox for test-specific expectations
|
|
import Mox
|
|
|
|
# Start the application in test mode
|
|
{:ok, _} = Application.ensure_all_started(:wanderer_app)
|
|
|
|
# Setup Ecto Sandbox for database isolation
|
|
Ecto.Adapters.SQL.Sandbox.mode(WandererApp.Repo, :manual)
|
|
|
|
# Set up test configuration
|
|
ExUnit.configure(timeout: 60_000)
|
|
|
|
IO.puts("🧪 Simplified test environment configured successfully")
|