Override runMode when running tests

This commit is contained in:
Simon Kornblith 2012-04-16 01:05:18 -04:00
parent 9eb75e3439
commit cfc5bc33e8

View File

@ -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;