Wait for bundled file updates to complete before running tests

This commit is contained in:
Simon Kornblith 2015-03-11 13:18:11 -04:00
parent 6a05e5c04b
commit 3583793571
6 changed files with 14 additions and 5 deletions

View file

@ -164,5 +164,7 @@ function resetDB() {
var db = Zotero.getZoteroDatabase();
return Zotero.reinit(function() {
db.remove(false);
}).then(function() {
return Zotero.Schema.schemaUpdatePromise;
});
}