Q -> Bluebird in tests
This commit is contained in:
parent
a91151756b
commit
6dfdae870e
3 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,5 @@
|
|||
Components.utils.import("resource://gre/modules/FileUtils.jsm");
|
||||
Components.utils.import("resource://gre/modules/osfile.jsm");
|
||||
Components.utils.import("resource://zotero/q.js");
|
||||
var EventUtils = Components.utils.import("resource://zotero-unit/EventUtils.jsm");
|
||||
|
||||
var ZoteroUnit = Components.classes["@mozilla.org/commandlinehandler/general-startup;1?type=zotero-unit"].
|
||||
|
@ -110,6 +109,6 @@ if(run) {
|
|||
window.onload = function() {
|
||||
Zotero.Schema.schemaUpdatePromise.then(function() {
|
||||
mocha.run();
|
||||
}).done();
|
||||
});
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue