Skip to content

Commit

Permalink
better inspect data
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Feb 18, 2017
1 parent 4019cb1 commit f9fa211
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion lib/base.js
Expand Up @@ -195,13 +195,33 @@ Base.prototype.inspect = function () {
name: this.name,
jobs: this.jobs,
buffered: this.buffered,
occupied: this.occupied,
pool: this.pool,
queue: this.queue,
subtests: this.subtests,
output: this.output,
skip: this.skip,
todo: this.todo,
results: this.results
results: this.results,
options: [
'autoend',
'command',
'args',
'stdio',
'env',
'cwd',
'exitCode',
'signal',
'expired',
'timeout',
'at',
'skip',
'todo'
].reduce(function (set, k) {
if (this.options[k] !== undefined)
set[k] = this.options[k]
return set
}.bind(this), {})
})
}

Expand Down

0 comments on commit f9fa211

Please sign in to comment.