Make debugging tests a bit easier
- Add command-line argument to enable debug logging - Add command-line argument to open (and leave open) jsconsole - Try to print error stack traces (although Mocha doesn't seem to like them?)
This commit is contained in:
parent
1c32db68da
commit
50cd396918
3 changed files with 26 additions and 8 deletions
|
@ -32,6 +32,7 @@ ZoteroUnit.prototype = {
|
|||
/* nsICommandLineHandler */
|
||||
handle:function(cmdLine) {
|
||||
this.tests = cmdLine.handleFlagWithParam("test", false);
|
||||
this.noquit = cmdLine.handleFlag("noquit", false);
|
||||
},
|
||||
|
||||
dump:function(x) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue