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:
Simon Kornblith 2015-03-07 22:17:44 -05:00
parent 1c32db68da
commit 50cd396918
3 changed files with 26 additions and 8 deletions

View file

@ -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) {