Skip to content

Commit

Permalink
update example test
Browse files Browse the repository at this point in the history
  • Loading branch information
timgit committed Jun 21, 2016
1 parent 435b9ab commit 50523f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/readmeTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ describe('examples', function(){
.then(jobId => console.log(`sent job ${jobId}`));

boss.subscribe('work', (job, done) => {
console.log(`got job ${job.name} (${job.id}) ${JSON.stringify(job.data)}`);
console.log(`received job ${job.name} (${job.id})`);
console.log(JSON.stringify(job.data));

done().then(() => {
console.log('Confirmed done');
Expand Down

0 comments on commit 50523f7

Please sign in to comment.