Mendeley Import: Test skipping mismatched annotations

This commit is contained in:
Tom Najdek 2021-11-10 13:46:02 +01:00
parent f10649483e
commit 7664fedf70
No known key found for this signature in database
GPG key ID: EEC61A7B4C667D77
2 changed files with 34 additions and 1 deletions

View file

@ -156,7 +156,7 @@ describe('Zotero_Import_Mendeley', function () {
assert.lengthOf(withpdf.getAttachments(), 1);
assert.equal(pdf.parentID, withpdf.id);
const annotations = await pdf.getAnnotations();
assert.lengthOf(annotations, 4);
assert.equal(annotations.length, 4);
// collection
const parentCollection = await Zotero.Collections.getAsync(