We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dd1242 commit 40aa890Copy full SHA for 40aa890
test/mocks/kuzzle.mock.js
@@ -95,6 +95,7 @@ class KuzzleMock extends KuzzleEventEmitter {
95
startListening: sinon.spy(),
96
joinChannel: sinon.spy(),
97
leaveChannel: sinon.spy(),
98
+ protocols: new Map(),
99
};
100
101
this.funnel = {
test/mocks/uWS.mock.js
@@ -12,6 +12,8 @@ class MockSocket {
12
this.cork = sinon.stub().yields();
13
this.getBufferedAmount = sinon.stub().returns(0);
14
this.send = sinon.stub();
15
+ this.headers = {};
16
+ this.internal = {};
17
}
18
19
0 commit comments