add tests

This commit is contained in:
mmacia committed 2026-05-18 21:29:10 +00:00
1 parent 714a2415b7
commit 2424a989bc
2 files changed
+131

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ defmodule FeedReader.TestSupport.ExternalFormatHandler do
@impl true
def handle_event(:start_document, _data, %{opts: opts} = state) do
if Keyword.get(opts, :emit_event), do: emit_event(state)
Enum.each(Keyword.get(opts, :collector_events, []), fn event -> state.event_sink.(event) end)
{:ok, state}
end