Clarify comment for numDistinctFileAttachmentsForLabel() test

This commit is contained in:
Dan Stillman 2024-05-19 00:54:13 -04:00
parent 47bf4de08a
commit 14c6d26f20

View file

@ -1362,7 +1362,7 @@ describe("Zotero.Items", function () {
assert.equal(getNum(), 2); assert.equal(getNum(), 2);
}); });
it("should return 0 for a parent item with a non-PDF attachment when passed `item.isPDFAttachment()` as a filter", async function () { it("should return 0 for a parent item with a non-PDF file attachment when passed `item.isPDFAttachment()` as a filter", async function () {
var item = await createDataObject('item'); var item = await createDataObject('item');
var attachment = await importFileAttachment('test.png', { parentItemID: item.id }); var attachment = await importFileAttachment('test.png', { parentItemID: item.id });