Wait for bundled file updates to complete before running tests
This commit is contained in:
parent
6a05e5c04b
commit
3583793571
6 changed files with 14 additions and 5 deletions
|
@ -108,6 +108,8 @@ if(ZoteroUnit.tests) {
|
|||
|
||||
if(run) {
|
||||
window.onload = function() {
|
||||
mocha.run();
|
||||
Zotero.Schema.schemaUpdatePromise.then(function() {
|
||||
mocha.run();
|
||||
}).done();
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue