Skip to content

Commit 8cf1688

Browse files
🤖 dprint fmt
1 parent 239534a commit 8cf1688

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

types/node/test/http.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,25 +371,25 @@ import * as url from "node:url";
371371
agent.once("free", () => {});
372372
agent.emit("free");
373373

374-
agent.getName({ host: 'for', port: 1234, localAddress: 'bar', family: 4 });
374+
agent.getName({ host: "for", port: 1234, localAddress: "bar", family: 4 });
375375

376376
// ensure direct call and override
377377
agent.createConnection({ port: 1234 });
378378
agent.createConnection = function createConnection(options, callback) {
379379
return new stream.Duplex(options);
380-
}
380+
};
381381

382382
// ensure direct call and override
383383
agent.keepSocketAlive(new stream.Duplex());
384384
agent.keepSocketAlive = function keepSocketAlive(socket) {
385385
socket.isPaused();
386-
}
386+
};
387387

388388
// ensure direct call and override
389-
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(''));
389+
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(""));
390390
agent.reuseSocket = function reuseSocket(socket, request) {
391391
socket.isPaused();
392-
}
392+
};
393393
}
394394

395395
{

types/node/v18/test/http.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -365,25 +365,25 @@ import * as url from "node:url";
365365
agent.once("free", () => {});
366366
agent.emit("free");
367367

368-
agent.getName({ host: 'for', port: 1234, localAddress: 'bar', family: 4 });
368+
agent.getName({ host: "for", port: 1234, localAddress: "bar", family: 4 });
369369

370370
// ensure direct call and override
371371
agent.createConnection({ port: 1234 });
372372
agent.createConnection = function createConnection(options, callback) {
373373
return new stream.Duplex(options);
374-
}
374+
};
375375

376376
// ensure direct call and override
377377
agent.keepSocketAlive(new stream.Duplex());
378378
agent.keepSocketAlive = function keepSocketAlive(socket) {
379379
socket.isPaused();
380-
}
380+
};
381381

382382
// ensure direct call and override
383-
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(''));
383+
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(""));
384384
agent.reuseSocket = function reuseSocket(socket, request) {
385385
socket.isPaused();
386-
}
386+
};
387387
}
388388

389389
{

types/node/v20/test/http.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,25 +366,25 @@ import * as url from "node:url";
366366
agent.once("free", () => {});
367367
agent.emit("free");
368368

369-
agent.getName({ host: 'for', port: 1234, localAddress: 'bar', family: 4 });
369+
agent.getName({ host: "for", port: 1234, localAddress: "bar", family: 4 });
370370

371371
// ensure direct call and override
372372
agent.createConnection({ port: 1234 });
373373
agent.createConnection = function createConnection(options, callback) {
374374
return new stream.Duplex(options);
375-
}
375+
};
376376

377377
// ensure direct call and override
378378
agent.keepSocketAlive(new stream.Duplex());
379379
agent.keepSocketAlive = function keepSocketAlive(socket) {
380380
socket.isPaused();
381-
}
381+
};
382382

383383
// ensure direct call and override
384-
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(''));
384+
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(""));
385385
agent.reuseSocket = function reuseSocket(socket, request) {
386386
socket.isPaused();
387-
}
387+
};
388388
}
389389

390390
{

types/node/v22/test/http.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,25 +371,25 @@ import * as url from "node:url";
371371
agent.once("free", () => {});
372372
agent.emit("free");
373373

374-
agent.getName({ host: 'for', port: 1234, localAddress: 'bar', family: 4 });
374+
agent.getName({ host: "for", port: 1234, localAddress: "bar", family: 4 });
375375

376376
// ensure direct call and override
377377
agent.createConnection({ port: 1234 });
378378
agent.createConnection = function createConnection(options, callback) {
379379
return new stream.Duplex(options);
380-
}
380+
};
381381

382382
// ensure direct call and override
383383
agent.keepSocketAlive(new stream.Duplex());
384384
agent.keepSocketAlive = function keepSocketAlive(socket) {
385385
socket.isPaused();
386-
}
386+
};
387387

388388
// ensure direct call and override
389-
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(''));
389+
agent.reuseSocket(new stream.Duplex(), new http.ClientRequest(""));
390390
agent.reuseSocket = function reuseSocket(socket, request) {
391391
socket.isPaused();
392-
}
392+
};
393393
}
394394

395395
{

0 commit comments

Comments
 (0)