-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
assert_receive({:playlist_playable, :video, ^output_dir}, 10_000) | ||
assert_receive({:segment, "video_segment_1" <> _}, 15_000) | ||
assert_receive({:manifest, %{video_segments: 2}}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be put into the function and then call it in all tests.
defp assert_track(type) do
assert_receive({:playlist_playable, :"#{type}", ^output_dir}, 10_000)
assert_receive({:segment, "#{type}_segment_1" <> _}, 15_000)
assert_receive({:manifest, %{"#{type}_segments": 2}})
end
Enum.find(manifest_files, nil, &String.match?(&1, ~r/^(?!index).*$/)) | ||
|> then(&Path.join(output_dir, &1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enum.find(manifest_files, nil, &String.match?(&1, ~r/^(?!index).*$/)) | |
|> then(&Path.join(output_dir, &1)) | |
manifest_files | |
|> Enum.find(nil, &String.match?(&1, ~r/^(?!index).*$/)) | |
|> then(&Path.join(output_dir, &1)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, lint and tests fail.
Codecov Report
@@ Coverage Diff @@
## integrate-live-audio-mixer #281 +/- ##
==============================================================
+ Coverage 58.44% 62.90% +4.45%
==============================================================
Files 43 44 +1
Lines 2101 2127 +26
==============================================================
+ Hits 1228 1338 +110
+ Misses 873 789 -84
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
No description provided.