Disable background full-text processing during tests
This commit is contained in:
parent
18d0e980d1
commit
6e4d6a2820
1 changed files with 2 additions and 0 deletions
|
@ -820,6 +820,8 @@ Zotero.Fulltext = Zotero.FullText = new function(){
|
|||
* Start the idle observer for the background content processor
|
||||
*/
|
||||
this.registerContentProcessor = function () {
|
||||
// Don't start idle observer during tests
|
||||
if (Zotero.test) return;
|
||||
if (!Zotero.Prefs.get('sync.fulltext.enabled')) return;
|
||||
|
||||
if (!_idleObserverIsRegistered) {
|
||||
|
|
Loading…
Reference in a new issue