Skip to content

Commit 2ce4156

Browse files
committed
Update packages/autocertifier-server/test/integration/RestServer-real-http-client.test.ts
1 parent 0b96fa9 commit 2ce4156

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/autocertifier-server/test/integration/RestServer-real-http-client.test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ import { v4 } from 'uuid'
44
import path from 'path'
55
import * as https from 'https'
66

7-
//Allow self-signed certificates
7+
// allow self-signed certificates
88
const agent = new https.Agent({
99
rejectUnauthorized: false
1010
})
1111

12-
// Helper function for making HTTPS requests
1312
const makeRequest = (url: string, options: https.RequestOptions, body?: any): Promise<{ status: number, body: any }> => {
1413
return new Promise((resolve, reject) => {
1514
const req = https.request(url, { ...options, agent }, (res) => {

0 commit comments

Comments
 (0)