Item auth_params

This commit is contained in:
Mo Bitar
2018-07-06 23:35:32 -05:00
parent 6fe08106ed
commit 7339c7c77f
9 changed files with 13 additions and 30 deletions

View File

@@ -373,10 +373,6 @@ describe("syncing", () => {
let authManager = Factory.globalAuthManager();
let syncManager = new SFSyncManager(modelManager, Factory.globalStorageManager(), Factory.globalHttpManager());
syncManager.setEventHandler(() => {
})
syncManager.setKeyRequestHandler(async () => {
return {
keys: await authManager.keys(),
@@ -392,7 +388,7 @@ describe("syncing", () => {
})
}
it.only('syncing a note many times does not cause duplication', async () => {
it('syncing a note many times does not cause duplication', async () => {
modelManager.resetLocalMemory();
let pair = createRelatedNoteTagPair();
let noteParams = pair[0];
@@ -421,8 +417,6 @@ describe("syncing", () => {
let syncManager = new SFSyncManager(modelManager, Factory.globalStorageManager(), Factory.globalHttpManager());
syncManager.setEventHandler(() => {})
// be offline
syncManager.setKeyRequestHandler(async () => {
return {