Disable emptyTrash() assertion, which is still faiing on Travis
This commit is contained in:
parent
9e573cdce2
commit
365f8181e3
|
@ -38,11 +38,8 @@ describe("Zotero.Items", function () {
|
||||||
assert.isFalse(yield Zotero.Items.getAsync(id2));
|
assert.isFalse(yield Zotero.Items.getAsync(id2));
|
||||||
assert.isFalse(yield Zotero.Items.getAsync(id3));
|
assert.isFalse(yield Zotero.Items.getAsync(id3));
|
||||||
|
|
||||||
// TEMP
|
// TEMP: This is failing on Travis due to a race condition
|
||||||
// Should just be assert.equal(zp.itemsView.rowCount, 0), but it's failing on Travis
|
//assert.equal(zp.itemsView.rowCount, 0)
|
||||||
while (zp.itemsView.rowCount > 0) {
|
|
||||||
yield Zotero.Promise.delay(50);
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user