mirror of https://github.com/status-im/codimd.git
19 lines
447 B
JavaScript
19 lines
447 B
JavaScript
'use strict'
|
|
|
|
const sinon = require('sinon')
|
|
|
|
class EditorSocketIOServerFake {
|
|
constructor () {
|
|
this.addClient = sinon.stub()
|
|
this.onOperation = sinon.stub()
|
|
this.onGetOperations = sinon.stub()
|
|
this.updateSelection = sinon.stub()
|
|
this.setName = sinon.stub()
|
|
this.setColor = sinon.stub()
|
|
this.getClient = sinon.stub()
|
|
this.onDisconnect = sinon.stub()
|
|
}
|
|
}
|
|
|
|
exports.EditorSocketIOServer = EditorSocketIOServerFake
|