Reset Zotero prefs after each suite and when resetting DB
But keep prefs set in runtests.sh
This commit is contained in:
parent
30d0858ebf
commit
5bceebf56c
2 changed files with 33 additions and 1 deletions
|
@ -511,7 +511,7 @@ var removeDir = Zotero.Promise.coroutine(function* (dir) {
|
|||
* any that were set at startup
|
||||
*/
|
||||
function resetDB(options = {}) {
|
||||
Zotero.Prefs.clear('lastViewedFolder')
|
||||
resetPrefs();
|
||||
|
||||
if (options.thisArg) {
|
||||
options.thisArg.timeout(60000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue