diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 428bf71ea..ac4ba8562 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,11 @@ repos: # Elixir config - repo: local hooks: + - id: mix-test + name: 'elixir: mix test' + entry: mix test + language: system + files: \.ex*$ - id: mix-format name: 'elixir: mix format' entry: mix format --check-formatted diff --git a/apps/fg_http/test/test_helper.exs b/apps/fg_http/test/test_helper.exs index ee5a1ae26..ae2a237b9 100644 --- a/apps/fg_http/test/test_helper.exs +++ b/apps/fg_http/test/test_helper.exs @@ -1,3 +1,2 @@ -{:ok, _} = Application.ensure_all_started(:ex_machina) ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(FgHttp.Repo, :manual)