- PromEx: added dashboards/0 + plugins/0 tests - Canopy.BulkFetch: 0% -> covers run/4 entry path (all tile fetches fail cleanly without network); cache/staging dirs created - Maidenhead.valid?/1: rejects integer/atom/tuple/list/map inputs - Canopy.tile_filename/2: S/E hemisphere prefix branches - ScoreCache.max_entries/0 invariant test 3624 tests, 0 failures.
19 lines
504 B
Elixir
19 lines
504 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 is_list(dashboards)
|
|
assert {:prom_ex, "application.json"} in dashboards
|
|
end
|
|
end
|
|
|
|
describe "plugins/0" do
|
|
test "returns a non-empty plugin list" do
|
|
plugins = Microwaveprop.PromEx.plugins()
|
|
assert is_list(plugins)
|
|
assert plugins != []
|
|
end
|
|
end
|
|
end
|