Skip to content

Commit f927ba2

Browse files
test: fix tests on Node.js > 18
Reference: https://nodejs.org/api/buffer.html#class-blob
1 parent baa6804 commit f927ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/socket.io.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,7 @@ describe('socket.io', function(){
18581858
it('should not crash when messing with Object prototype (and other globals)', function(done){
18591859
Object.prototype.foo = 'bar';
18601860
global.File = '';
1861-
global.Blob = [];
1861+
// global.Blob = [];
18621862
var srv = http();
18631863
var sio = io(srv);
18641864
srv.listen(function(){

0 commit comments

Comments
 (0)