diff options
author | Mo <modisemorebodi@gmail.com> | 2021-01-04 17:55:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 16:55:20 +0100 |
commit | 3e5a3daf5983d9c6fd6b9cbf9a5b46abb9602346 (patch) | |
tree | 4920f078ea61cea580e0d125cb539b69aeca08a4 /cli/tests/unit/fetch_test.ts | |
parent | 1d4f8298a7cdead528b5c08c9b762b261d3b3ea3 (diff) |
BREAKING(unstable): remove CreateHttpClientOptions.caFile (#8928)
Diffstat (limited to 'cli/tests/unit/fetch_test.ts')
-rw-r--r-- | cli/tests/unit/fetch_test.ts | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cli/tests/unit/fetch_test.ts b/cli/tests/unit/fetch_test.ts index 85792b203..e5389d024 100644 --- a/cli/tests/unit/fetch_test.ts +++ b/cli/tests/unit/fetch_test.ts @@ -1011,24 +1011,6 @@ unitTest(function fetchResponseEmptyConstructor(): void { }); unitTest( - { perms: { net: true, read: true } }, - async function fetchCustomHttpClientFileCertificateSuccess(): Promise< - void - > { - const client = Deno.createHttpClient( - { caFile: "./cli/tests/tls/RootCA.crt" }, - ); - const response = await fetch( - "https://localhost:5545/cli/tests/fixture.json", - { client }, - ); - const json = await response.json(); - assertEquals(json.name, "deno"); - client.close(); - }, -); - -unitTest( { perms: { net: true } }, async function fetchCustomHttpClientParamCertificateSuccess(): Promise< void |