chore: display shared vault file usage (#2399)
* chore: display shared vault file usage * fix: specs * fix: reshape filtering result * fix: resolving invalid server items * fix: get revisions specs * fix: processing issue * fix: tests --------- Co-authored-by: Mo <mo@standardnotes.com>
This commit is contained in:
@@ -113,7 +113,7 @@ describe('online syncing', function () {
|
||||
|
||||
for (let i = 0; i < syncCount; i++) {
|
||||
application.sync.sync(syncOptions)
|
||||
await Factory.sleep(0.01)
|
||||
await Factory.sleep(0.01, undefined, true)
|
||||
}
|
||||
await promise
|
||||
expect(promise).to.be.fulfilled
|
||||
@@ -958,6 +958,11 @@ describe('online syncing', function () {
|
||||
},
|
||||
})
|
||||
|
||||
context.anticipateConsoleError(
|
||||
'Error decrypting payload',
|
||||
'The encrypted payload above is not a valid encrypted payload.',
|
||||
)
|
||||
|
||||
await application.sync.handleSuccessServerResponse({ payloadsSavedOrSaving: [], options: {} }, response)
|
||||
|
||||
expect(application.payloads.findOne(invalidPayload.uuid)).to.not.be.ok
|
||||
|
||||
Reference in New Issue
Block a user