Skip to content

v12.52.6

Choose a tag to compare

@github-actions github-actions released this 05 Nov 05:39
· 8 commits to main since this release
  • Koolbase.initializeForTesting(offline: true) sets up the offline layer as an app's is, on an in-memory database: a write the network fails is queued and shown from the device's copy, and Koolbase.db.syncPendingWrites() replays the queue through the test's httpClient, so a widget test plays a server that accepts or refuses each change (a refused one becomes a conflict). Nothing listens for connectivity. resetForTesting closes it.
  • SyncEngine takes an optional httpClient (the session client by default, as before). Nothing changes in an app.