-
Notifications
You must be signed in to change notification settings - Fork 1
File component framerate #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @enforce_keys [:file_path] | ||
| defstruct @enforce_keys ++ | ||
| [] | ||
| defstruct @enforce_keys ++ [framerate: nil] |
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.
Consider removing the default nil - this would require JF to always return value, even if it's nil.
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.
Not exactly; it would require the user always to pass a value, even if it is adding an audio file component.
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.
Perhaps we can clean up rooms after each test more easily with a combination of setup and on_exit ?
Maybe its possible to create a function like this:
def cleanup_on_exit do
on_exit(fn _ -> remove_all_rooms())
end
and then call it on setup of each describe block?
I am not sure if this would work, perhaps this discussion might help:
https://elixirforum.com/t/how-to-clean-up-after-each-test-inside-describe/23718
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #52 +/- ##
=======================================
Coverage 82.01% 82.01%
=======================================
Files 16 16
Lines 228 228
=======================================
Hits 187 187
Misses 41 41
Continue to review full report in Codecov by Sentry.
|
Blocked by this PR