Lengthen timeout for ISBN tests

I think the failures are actually LoC timing out.
This commit is contained in:
Simon Kornblith 2015-03-11 14:35:55 -04:00
parent 3583793571
commit a5ce4d2a66

View file

@ -20,14 +20,14 @@ describe("Add Item by Identifier", function() {
});
it("should add an ISBN-10", function() {
this.timeout(10000);
this.timeout(20000);
return lookupIdentifier(win, "0838985890").then(function(ids) {
var item = Zotero.Items.get(ids[0]);
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
});
});
it("should add an ISBN-13", function() {
this.timeout(10000);
this.timeout(20000);
return lookupIdentifier(win, "978-0838985892").then(function(ids) {
var item = Zotero.Items.get(ids[0]);
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");