Restore Websock.allocateBuffers() after tests
This was accidentally removed in 0a6aec3578
.
This commit is contained in:
parent
fee115b13f
commit
337fb06535
|
@ -115,6 +115,7 @@ describe('Remote Frame Buffer Protocol Client', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
after(function () {
|
after(function () {
|
||||||
|
Websock.prototype._allocateBuffers = Websock.prototype._oldAllocateBuffers;
|
||||||
delete Websock.prototype.inspect;
|
delete Websock.prototype.inspect;
|
||||||
this.clock.restore();
|
this.clock.restore();
|
||||||
window.requestAnimationFrame = raf;
|
window.requestAnimationFrame = raf;
|
||||||
|
|
Loading…
Reference in New Issue