Skip to content

Commit

Permalink
Added preLog to telegram and prev2task mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderArce committed Nov 15, 2018
1 parent 8e00024 commit 8a0abc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/worker/execution-plugins/__mocks__/prev2task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class Prev2TaskPlugin {
}

execute(cb) {
logger.info('Running prev2task plugin mock')
logger.info(this.preLog, 'Running prev2task plugin mock')
cb(null, this.msg)
}
}
2 changes: 1 addition & 1 deletion src/worker/execution-plugins/__mocks__/telegram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class TelegramPlugin {
}

execute(cb) {
logger.info('Running telegram plugin mock')
logger.info(this.preLog, 'Running telegram plugin mock')
cb(null, this.msg)
}
}

0 comments on commit 8a0abc1

Please sign in to comment.