Fix test failures on Linux due to slow translator initialization
Not sure why translator initialization is so slow on Linux, but this is a temporary fix. More of these are probably needed.
This commit is contained in:
parent
bdec4b119f
commit
c310c59d32
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ describe("Zotero.FeedItem", function () {
|
|||
var win;
|
||||
|
||||
before(function* () {
|
||||
// TEMP: Fix for slow translator initialization on Linux/Travis
|
||||
this.timeout(20000);
|
||||
yield Zotero.Translators.init();
|
||||
|
||||
// Needs an open window to be able to create a hidden window for translation
|
||||
win = yield loadBrowserWindow();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue