diff --git a/network/agent/agent.spec.ts b/network/agent/agent.spec.ts index 8010a3f..4bcf1a9 100644 --- a/network/agent/agent.spec.ts +++ b/network/agent/agent.spec.ts @@ -7,7 +7,7 @@ jest.mock('agentkeepalive', () => { }) jest.mock('https-proxy-agent', () => mockHttpAgent('https-proxy')) -function mockHttpAgent(type: string) { +function mockHttpAgent (type: string) { return function Agent(opts: any) { // eslint-disable-line @typescript-eslint/no-explicit-any return { diff --git a/network/proxy-agent/proxy-agent.ts b/network/proxy-agent/proxy-agent.ts index 7cbca56..40a044f 100644 --- a/network/proxy-agent/proxy-agent.ts +++ b/network/proxy-agent/proxy-agent.ts @@ -142,7 +142,7 @@ function getProxy ( return undefined } -function getAuth (user: { username?: string; password?: string }) { +function getAuth (user: { username?: string, password?: string }) { if (!user.username) { return undefined }