Skip to content

Commit

Permalink
chore: Fix test termination.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Feb 8, 2025
1 parent 12e1bf6 commit a24e1e4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/test_helper.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ ExUnit.start()
Phoenix.React.start_link([])

ExUnit.after_suite(fn _results ->
IO.puts("Stopping runtime ...")
try do
IO.puts("Stopping runtime ...")

Phoenix.React.stop_runtime()
Phoenix.React.stop_runtime()

:ok
:ok
rescue
_ -> :ok
end
end)

0 comments on commit a24e1e4

Please sign in to comment.