www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 6b0be91bf4d10be7ce2679cf440ebf220e390d0b
parent 3905c98f931cd174dc651604a3a56173674e6d1f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 23 May 2016 00:59:16 -0400

Clear lastViewedFolder pref when resetting DB during tests

Diffstat:
Mtest/content/support.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/content/support.js b/test/content/support.js @@ -497,6 +497,8 @@ var getTempDirectory = Zotero.Promise.coroutine(function* getTempDirectory() { * any that were set at startup */ function resetDB(options = {}) { + Zotero.Prefs.clear('lastViewedFolder') + if (options.thisArg) { options.thisArg.timeout(60000); }