prop/test/microwaveprop/prom_ex_test.exs
Graham McIntire 959f3a3f69
Some checks failed
Build and Push / Build and Push Docker Image (push) Failing after 4m31s
Fix LiveView crashes and stabilize test suite
2026-08-01 09:26:47 -05:00

20 lines
622 B
Elixir

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 Enum.any?(dashboards)
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 Enum.any?(plugins)
assert Microwaveprop.PromEx.InstrumentPlugin in plugins
assert PromEx.Plugins.Beam in plugins
end
end
end