micro-toolkit/event-bus-zeromq

View on GitHub
test/support/log_helper.js

Summary

Maintainability
A
0 mins
Test Coverage
var sinon = require('sinon')

function getLogStub() {
  return {
    debug: sinon.spy(),
    info: sinon.spy(),
    trace: sinon.spy(),
    warn: sinon.spy(),
    error: sinon.spy()
  }
}
module.exports = {
  getLogStub: getLogStub
}