Skip to content

Commit 9dfe0a3

Browse files
committed
FIXUP
1 parent 263115a commit 9dfe0a3

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/HttpClient.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { strict as assert } from 'node:assert';
22
import dns from 'node:dns';
33
import { once } from 'node:events';
44
import { sensitiveHeaders, createSecureServer } from 'node:http2';
5+
import { AddressInfo } from 'node:net';
56
import { PerformanceObserver } from 'node:perf_hooks';
67
import { setTimeout as sleep } from 'node:timers/promises';
78

@@ -11,7 +12,6 @@ import { describe, it, beforeAll, afterAll } from 'vitest';
1112
import { HttpClient, RawResponseWithMeta, getGlobalDispatcher } from '../src/index.js';
1213
import { startServer } from './fixtures/server.js';
1314
import { nodeMajorVersion } from './utils.js';
14-
import { AddressInfo } from 'node:net';
1515

1616
const pems = selfsigned.generate([], {
1717
keySize: nodeMajorVersion() >= 22 ? 2048 : 1024,

test/diagnostics_channel.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { strict as assert } from 'node:assert';
22
import diagnosticsChannel from 'node:diagnostics_channel';
33
import { once } from 'node:events';
44
import { createSecureServer } from 'node:http2';
5+
import { AddressInfo } from 'node:net';
56
import { setTimeout as sleep } from 'node:timers/promises';
67

78
import selfsigned from 'selfsigned';
@@ -12,7 +13,6 @@ import type { RequestDiagnosticsMessage, ResponseDiagnosticsMessage } from '../s
1213
import symbols from '../src/symbols.js';
1314
import { startServer } from './fixtures/server.js';
1415
import { nodeMajorVersion } from './utils.js';
15-
import { AddressInfo } from 'node:net';
1616

1717
describe('diagnostics_channel.test.ts', () => {
1818
let close: any;

test/options.timeout.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { strict as assert } from 'node:assert';
22
import { once } from 'node:events';
33
import { createSecureServer } from 'node:http2';
4+
import { AddressInfo } from 'node:net';
45

56
import selfsigned from 'selfsigned';
67
import { describe, it, beforeAll, afterAll } from 'vitest';
78

89
import urllib, { HttpClientRequestTimeoutError, HttpClient } from '../src/index.js';
910
import { startServer } from './fixtures/server.js';
1011
import { nodeMajorVersion } from './utils.js';
11-
import { AddressInfo } from 'node:net';
1212

1313
const pems = selfsigned.generate([], {
1414
keySize: nodeMajorVersion() >= 22 ? 2048 : 1024,

test/urllib.options.rejectUnauthorized-false.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { strict as assert } from 'node:assert';
22
import { once } from 'node:events';
33
import { createSecureServer } from 'node:http2';
4+
import { AddressInfo } from 'node:net';
45

56
import selfsigned from 'selfsigned';
67
import { describe, it, beforeAll, afterAll } from 'vitest';
78

89
import urllib, { HttpClient } from '../src/index.js';
910
import { startServer } from './fixtures/server.js';
1011
import { nodeMajorVersion } from './utils.js';
11-
import { AddressInfo } from 'node:net';
1212

1313
describe('urllib.options.rejectUnauthorized-false.test.ts', () => {
1414
let close: any;

0 commit comments

Comments
 (0)