mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 22:54:18 +00:00
a6036cb70b
Signed-off-by: BoHong Li <a60814billy@gmail.com>
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
|