Skip to content

Commit

Permalink
fix(mneme.watch): ensure ex_unit is started before accessing its config
Browse files Browse the repository at this point in the history
Fixes #95
  • Loading branch information
zachallaun committed Oct 21, 2024
1 parent f078db3 commit 0227973
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mneme/watch/test_runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ defmodule Mneme.Watch.TestRunner do

@impl GenServer
def init(opts) do
{:ok, _} = Application.ensure_all_started(:ex_unit)

impl = Keyword.fetch!(opts, :impl)
args = Keyword.fetch!(opts, :cli_args)
watch_opts = Keyword.fetch!(opts, :watch)
Expand Down

0 comments on commit 0227973

Please sign in to comment.