From f927ba29efcfec5a1b4c7930c5ed993fd3cf5ff7 Mon Sep 17 00:00:00 2001 From: Damien Arrachequesne Date: Wed, 19 Jun 2024 10:44:04 +0200 Subject: [PATCH] test: fix tests on Node.js > 18 Reference: https://nodejs.org/api/buffer.html#class-blob --- test/socket.io.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/socket.io.js b/test/socket.io.js index 7fe059d4a9..ca812398a1 100644 --- a/test/socket.io.js +++ b/test/socket.io.js @@ -1858,7 +1858,7 @@ describe('socket.io', function(){ it('should not crash when messing with Object prototype (and other globals)', function(done){ Object.prototype.foo = 'bar'; global.File = ''; - global.Blob = []; + // global.Blob = []; var srv = http(); var sio = io(srv); srv.listen(function(){