add test for worker failure event

This commit is contained in:
2016-07-11 12:16:32 -07:00
parent 9a71fcc7b5
commit 8cd2fde3a8
2 changed files with 32 additions and 16 deletions

View File

@@ -127,6 +127,7 @@ export default class Job extends events.EventEmitter {
.then(() => {
const eventOutput = {
job: formatJobObject(job),
worker: this.toJSON(),
output: docOutput,
};