brave / sync

deprecated Brave sync server. (sync now uses a fork of the Chromium sync protocol.)
Mozilla Public License 2.0
204 stars 41 forks source link

Add SENT_SYNC_RECORDS which is the callback of SEND_SYNC_RECORDS #358

Closed darkdh closed 5 years ago

darkdh commented 5 years ago

fix https://github.com/brave/sync/issues/356

gives back full records when all records are successfully uploaded or partial records/empty records when error occurred.

AlexeyBarabash commented 5 years ago

Is it possible to add a testcase?

darkdh commented 5 years ago

we don't have any tests for this "interface" side of code, object put test is covered in test/client/requestUtil.js