@trayio/commons
Advanced tools
Comparing version 4.63.0 to 4.64.0
@@ -268,2 +268,14 @@ "use strict"; | ||
}); | ||
test('should send a GET request with an empty header', async () => { | ||
const response = await httpClient.execute(Http_1.HttpMethod.Get, baseUrl, Http_1.HttpRequest.create({ | ||
headers: { '': '' }, | ||
pathParams: {}, | ||
queryString: {}, | ||
body: BufferExtensions_1.BufferExtensions.arrayBufferToReadable(new ArrayBuffer(0)), | ||
}))(); | ||
if (E.isLeft(response)) { | ||
throw new Error('Got left expected right'); | ||
} | ||
expect(response.right.statusCode).toEqual(200); | ||
}); | ||
test('should send a GET request with a certificate', async () => { | ||
@@ -270,0 +282,0 @@ const response = await httpClient.execute(Http_1.HttpMethod.Get, httpsServerUrl, Http_1.HttpRequest.create({ |
{ | ||
"name": "@trayio/commons", | ||
"version": "4.63.0", | ||
"version": "4.64.0", | ||
"description": "Extensions to the standard/core libraries and basic features", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242238
5049