You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
@ -46,13 +46,13 @@ describe('Synchronizer.conflicts', () => {
|
||||
for (const n in conflictedNote) {
|
||||
if (!conflictedNote.hasOwnProperty(n)) continue;
|
||||
if (n === 'id' || n === 'is_conflict' || n === 'conflict_original_id') continue;
|
||||
expect(conflictedNote[n]).toBe(note2conf[n]);
|
||||
expect(conflictedNote[n]).toBe((note2conf as any)[n]);
|
||||
}
|
||||
|
||||
const noteUpdatedFromRemote = await Note.load(note1.id);
|
||||
for (const n in noteUpdatedFromRemote) {
|
||||
if (!noteUpdatedFromRemote.hasOwnProperty(n)) continue;
|
||||
expect(noteUpdatedFromRemote[n]).toBe(note2[n]);
|
||||
expect((noteUpdatedFromRemote as any)[n]).toBe((note2 as any)[n]);
|
||||
}
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user