Fix another intermittent test failure from translator initialization

This commit is contained in:
Dan Stillman 2016-08-25 12:41:18 -04:00
parent c310c59d32
commit dbd81528d3

View file

@ -151,6 +151,10 @@ function setupAttachmentEndpoints() {
describe("Zotero.Translate", function() {
let win;
before(function* () {
// TEMP: Fix for slow translator initialization on Linux/Travis
this.timeout(20000);
yield Zotero.Translators.init();
setupAttachmentEndpoints();
win = yield loadBrowserWindow();
});