Clear Zotero.skipLoading after data directory tests
This was causing a startup error in the re-enabled debug output tests, which don't reset app state.
This commit is contained in:
parent
6e2ec2300d
commit
117dbe1fe0
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ describe("Zotero.DataDirectory", function () {
|
||||||
afterEach(function* () {
|
afterEach(function* () {
|
||||||
yield removeDir(oldDir);
|
yield removeDir(oldDir);
|
||||||
yield removeDir(newDir);
|
yield removeDir(newDir);
|
||||||
|
Zotero.skipLoading = false;
|
||||||
Zotero.DataDirectory._cache(false);
|
Zotero.DataDirectory._cache(false);
|
||||||
yield Zotero.DataDirectory.init();
|
yield Zotero.DataDirectory.init();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue