summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/tls_starttls.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/tls_starttls.js')
-rw-r--r--cli/tests/testdata/run/tls_starttls.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/testdata/run/tls_starttls.js b/cli/tests/testdata/run/tls_starttls.js
index 3d84ac74a..3e406ff5f 100644
--- a/cli/tests/testdata/run/tls_starttls.js
+++ b/cli/tests/testdata/run/tls_starttls.js
@@ -13,8 +13,8 @@ const port = 3504;
const listener = Deno.listenTls({
hostname,
port,
- certFile: "./tls/localhost.crt",
- keyFile: "./tls/localhost.key",
+ cert: Deno.readTextFileSync("./tls/localhost.crt"),
+ key: Deno.readTextFileSync("./tls/localhost.key"),
});
const response = encoder.encode(