Skip to content

Commit

Permalink
stop hex app in test fixture
Browse files Browse the repository at this point in the history
Fixes #627
  • Loading branch information
lukaszsamson committed Jun 27, 2022
1 parent 78c9516 commit 42083c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/elixir_ls_utils/test/support/mix_test.case.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ defmodule ElixirLS.Utils.MixTest.Case do
previous = :code.all_loaded()
project_stack = clear_project_stack!()

ExUnit.CaptureLog.capture_log(fn -> Application.stop(:mix) end)
ExUnit.CaptureLog.capture_log(fn ->
Application.stop(:mix)
Application.stop(:hex)
end)

Application.start(:mix)

try do
Expand Down

0 comments on commit 42083c9

Please sign in to comment.