You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Koolbase.initializeForTesting(httpClient:) now sets up Koolbase.storage on that client: its API calls through the session client, an upload's bytes and a download through the client itself (lent, never closed). A widget test can play the storage server, hold an upload open and cancel it. Storage was unset before, so a test touching it failed.
KoolbaseStorageClient takes an optional httpClient (every API call; the session client by default, as before) and transferClient (a new client per transfer; http.Client() by default, as before). Nothing changes in an app.