mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 12:44:31 +00:00
17e82c11c9
Signed-off-by: BoHong Li <a60814billy@gmail.com>
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
|