defmodule Dexcord.Fixtures do @moduledoc false @fixtures_dir Path.expand("../fixtures", __DIR__) def load!(name) do @fixtures_dir |> Path.join(name) |> File.read!() |> JSON.decode!() end end