Vendor Leaflet 1.9.4 (JS, CSS, marker images) and wire it into the esbuild/Tailwind asset pipeline. Create MapLive with band selector buttons, auto-refresh, and a colocated JS hook that renders propagation scores as color-coded circle markers with a legend. Stub Propagation context and BandConfig modules provide the data interface for the scoring pipeline. Add nav bar with links to Map, QSOs, and Submit pages.
21 lines
517 B
Elixir
21 lines
517 B
Elixir
defmodule Microwaveprop.PropagationTest do
|
|
use ExUnit.Case, async: true
|
|
|
|
alias Microwaveprop.Propagation
|
|
|
|
describe "latest_scores/1" do
|
|
test "returns a list" do
|
|
assert is_list(Propagation.latest_scores(10_000))
|
|
end
|
|
|
|
test "returns empty list for stub implementation" do
|
|
assert Propagation.latest_scores(10_000) == []
|
|
end
|
|
end
|
|
|
|
describe "latest_valid_time/0" do
|
|
test "returns nil for stub implementation" do
|
|
assert Propagation.latest_valid_time() == nil
|
|
end
|
|
end
|
|
end
|