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
Great, I like your screencasts about Stimulus a lot!
Sidekiq has an automatic job retry with exponential backoff:
Why didn't you use that?