Restore Websock.allocateBuffers() after tests

This was accidentally removed in 0a6aec3578.
This commit is contained in:
Pierre Ossman 2022-10-27 16:02:02 +02:00
parent fee115b13f
commit 337fb06535
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ describe('Remote Frame Buffer Protocol Client', function () {
});
after(function () {
Websock.prototype._allocateBuffers = Websock.prototype._oldAllocateBuffers;
delete Websock.prototype.inspect;
this.clock.restore();
window.requestAnimationFrame = raf;