Q -> Bluebird in tests

This commit is contained in:
Dan Stillman 2015-04-13 03:27:51 -04:00
parent a91151756b
commit 6dfdae870e
3 changed files with 8 additions and 9 deletions

View file

@ -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();
});
};
}