mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
PhantomJS does not implement `Object.assign` which is how we were updating the state immutably. I've switched it over to use the ImmutableJS library instead.
20 lines
468 B
Elixir
20 lines
468 B
Elixir
use Mix.Config
|
|
|
|
# We don't run a server during test. If one is required,
|
|
# you can enable the server option below.
|
|
config :chess, Chess.Endpoint,
|
|
http: [port: 4001],
|
|
server: true
|
|
|
|
# Print only warnings and errors during test
|
|
config :logger, level: :warn
|
|
|
|
# Configure your database
|
|
config :chess, Chess.Repo,
|
|
adapter: Ecto.Adapters.Postgres,
|
|
database: "chess_test",
|
|
hostname: "localhost",
|
|
pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
config :hound, driver: "phantomjs"
|