Add Zotero.test, which is true during tests
(Zotero.automatedTest is only true in Travis)
This commit is contained in:
parent
4082ff9e8c
commit
cfe76a6f83
3 changed files with 5 additions and 2 deletions
|
@ -483,6 +483,9 @@ ZoteroCommandLineHandler.prototype = {
|
|||
}
|
||||
}
|
||||
|
||||
if (cmdLine.handleFlag("ZoteroTest", false)) {
|
||||
zInitOptions.test = true;
|
||||
}
|
||||
if (cmdLine.handleFlag("ZoteroAutomatedTest", false)) {
|
||||
zInitOptions.automatedTest = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue