Enforce function call spacing
This commit is contained in:
parent
f77f41ee95
commit
d80d9d3731
|
@ -31,5 +31,6 @@
|
||||||
"ignoreComments": true }],
|
"ignoreComments": true }],
|
||||||
"comma-spacing": ["error"],
|
"comma-spacing": ["error"],
|
||||||
"comma-style": ["error"],
|
"comma-style": ["error"],
|
||||||
|
"func-call-spacing": ["error"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2184,7 +2184,7 @@ describe('Remote Frame Buffer Protocol Client', function() {
|
||||||
|
|
||||||
describe('WebSocket event handlers', function () {
|
describe('WebSocket event handlers', function () {
|
||||||
// message events
|
// message events
|
||||||
it ('should do nothing if we receive an empty message and have nothing in the queue', function () {
|
it('should do nothing if we receive an empty message and have nothing in the queue', function () {
|
||||||
client._normal_msg = sinon.spy();
|
client._normal_msg = sinon.spy();
|
||||||
client._sock._websocket._receive_data(new Uint8Array([]));
|
client._sock._websocket._receive_data(new Uint8Array([]));
|
||||||
expect(client._normal_msg).to.not.have.been.called;
|
expect(client._normal_msg).to.not.have.been.called;
|
||||||
|
|
Loading…
Reference in New Issue