Activity
Great episode! Instead of testing private methods directly, I suggest to define a FakeApiClient
class that extends ApplicationClient
with some dummy methods. This allows testing public methods. Plus, it allows you to remove the BASE_URI
constant from ApplicationClient
and define it in FakeApiClient
.
Great, I like your screencasts about Stimulus a lot!
Sidekiq has an automatic job retry with exponential backoff:
https://github.com/mperham/sidekiq/wiki/Error-Handling#automatic-job-retry
Why didn't you use that?