mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Override runMode when running tests
This commit is contained in:
parent
9eb75e3439
commit
cfc5bc33e8
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ Zotero_TranslatorTesters = new function() {
|
|||
Zotero_TranslatorTester = function(translator, type, debugCallback) {
|
||||
this.type = type;
|
||||
this.translator = translator;
|
||||
this.translator.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER;
|
||||
this.output = "";
|
||||
this.isSupported = this.translator.runMode === Zotero.Translator.RUN_MODE_IN_BROWSER;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue