mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-22 02:31:31 +02:00
Avoid printing the Websock buffer in tests
It takes forever and just messes up the output.
This commit is contained in:
parent
ae1bc396bf
commit
6db1c2bf0d
@ -107,10 +107,12 @@ describe('Remote Frame Buffer Protocol Client', function () {
|
|||||||
this._rQ = rQ;
|
this._rQ = rQ;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Avoiding printing the entire Websock buffer on errors
|
||||||
|
Websock.prototype.toString = function () { return "[object Websock]"; };
|
||||||
});
|
});
|
||||||
|
|
||||||
after(function () {
|
after(function () {
|
||||||
Websock.prototype._allocateBuffers = Websock.prototype._oldAllocateBuffers;
|
delete Websock.prototype.toString;
|
||||||
this.clock.restore();
|
this.clock.restore();
|
||||||
window.requestAnimationFrame = raf;
|
window.requestAnimationFrame = raf;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user