defmodule Microwaveprop.PromExTest do use ExUnit.Case, async: true describe "dashboards/0" do test "returns the configured dashboard list" do dashboards = Microwaveprop.PromEx.dashboards() assert length(dashboards) > 0 assert {:prom_ex, "application.json"} in dashboards end end describe "plugins/0" do test "includes the custom InstrumentPlugin alongside the PromEx defaults" do plugins = Microwaveprop.PromEx.plugins() assert length(plugins) > 0 assert Microwaveprop.PromEx.InstrumentPlugin in plugins assert PromEx.Plugins.Beam in plugins end end end