mirror of
https://github.com/status-im/codimd.git
synced 2025-02-16 07:16:40 +00:00
16 lines
259 B
JavaScript
16 lines
259 B
JavaScript
'use strict'
|
|
|
|
const sinon = require('sinon')
|
|
|
|
function createFakeLogger () {
|
|
return {
|
|
error: sinon.stub(),
|
|
warn: sinon.stub(),
|
|
info: sinon.stub(),
|
|
debug: sinon.stub(),
|
|
log: sinon.stub()
|
|
}
|
|
}
|
|
|
|
exports.createFakeLogger = createFakeLogger
|