www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0fca78bb7e64eca0ede42acb98647e15d8b77441
parent c5716a395f0ae42e46d7d1cccf40e2d9f9e06ed0
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 15 Apr 2016 05:14:52 -0400

Try to fix intermittent Travis error

Diffstat:
Mtest/tests/itemTreeViewTest.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/tests/itemTreeViewTest.js b/test/tests/itemTreeViewTest.js @@ -211,14 +211,13 @@ describe("Zotero.ItemTreeView", function() { itemsView = zp.itemsView; var items = []; - var num = 10; + var num = 6; for (let i = 0; i < num; i++) { let item = createUnsavedDataObject('item'); item.addToCollection(collection.id); yield item.saveTx(); items.push(item); } - yield Zotero.Promise.delay(2000); assert.equal(itemsView.rowCount, num); // Select the third item in the list