1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
chess/test/test_helper.exs
Dan Barber d888ab8d83
Make sure the JS works in PhantomJS
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.
2016-12-22 10:28:33 +00:00

5 lines
105 B
Elixir

Application.ensure_all_started(:hound)
ExUnit.start
Ecto.Adapters.SQL.Sandbox.mode(Chess.Repo, :manual)