Skip to content

Commit fecff21

Browse files
authored
Merge pull request #1355 from terascope/fix-httpsAgent-options-change
fix createHandlerOptions test
2 parents e7c4807 + cc37129 commit fecff21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/file-asset-apis/test/s3/createS3Client-spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,16 +292,16 @@ describe('createS3Client', () => {
292292
const result = createRequestHandlerOptions(httpOptions);
293293
expect(result).toEqual({
294294
httpsAgent: expect.objectContaining({
295-
options: {
295+
options: expect.objectContaining({
296296
rejectUnauthorized: true,
297297
ca: ['-----BEGIN CERTIFICATE-----\n'
298298
+ 'MIICUDCCAdoCBDaM1tYwDQYJKoZIhvcNAQEEBQAwgY8xCzAJBgNVBAYTAlVTMRMw\n'
299299
+ '...\n'
300300
+ 'iKlsPBRbNdq5cNIuIfPS8emrYMs=\n'
301301
+ '-----END CERTIFICATE-----'],
302302
noDelay: true,
303-
path: null
304-
}
303+
path: null,
304+
})
305305
})
306306
});
307307
});

0 commit comments

Comments
 (0)