Create 'profile' and 'Zotero' directories in temp dir for tests
This commit is contained in:
parent
fb1e87a2da
commit
288d0c7c06
3 changed files with 9 additions and 6 deletions
|
@ -38,6 +38,8 @@ describe("Zotero Core Functions", function () {
|
|||
});
|
||||
|
||||
beforeEach(function* () {
|
||||
// Trigger a call to setDataDirectory() now to avoid affecting the stub call count
|
||||
Zotero.getZoteroDirectory();
|
||||
stub1 = sinon.stub(Zotero, "setDataDirectory");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue