diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-11 07:55:42 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-10 21:55:42 +0000 |
commit | ace1202227abeeac78db0266a13b451c1792a6ce (patch) | |
tree | 3319bc3defab8dddc04e3907b7b7bece821fe094 /tests/unit/tls_sni_test.ts | |
parent | be0ba6d84f190f4fc1b4517e62d9d8ad30c8cfb1 (diff) |
BREAKING(net): remove `Deno.ConnectTlsOptions.{certChain,certFile,privateKey}` and `Deno.ListenTlsOptions.certChain,certFile,keyFile}` (#25525)
Towards #22079
Diffstat (limited to 'tests/unit/tls_sni_test.ts')
-rw-r--r-- | tests/unit/tls_sni_test.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/tls_sni_test.ts b/tests/unit/tls_sni_test.ts index 404f8016e..a8d51108e 100644 --- a/tests/unit/tls_sni_test.ts +++ b/tests/unit/tls_sni_test.ts @@ -25,9 +25,8 @@ Deno.test( return keys[sni]!; }, }; - const listener = Deno.listenTls( - <Deno.ListenTlsOptions & Deno.TlsCertifiedKeyConnectTls> opts, - ); + // @ts-ignore Trust me + const listener = Deno.listenTls(opts); for ( const server of ["server-1", "server-2", "fail-server-3", "fail-server-4"] |