diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-04-19 20:50:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 20:50:18 +1000 |
commit | 05b49a803fb460c254d00fc71c5e8958215f92c7 (patch) | |
tree | e3c0ea65d00ec18ef9507940023de3e936600a5a /tests/specs/future/runtime_api/main.js | |
parent | c497e766f1a136c674d8be2467eb103c85fe1d44 (diff) |
FUTURE: remove `Deno.customInspect` (#23453)
Diffstat (limited to 'tests/specs/future/runtime_api/main.js')
-rw-r--r-- | tests/specs/future/runtime_api/main.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/specs/future/runtime_api/main.js b/tests/specs/future/runtime_api/main.js index 5308bb73a..a79185e92 100644 --- a/tests/specs/future/runtime_api/main.js +++ b/tests/specs/future/runtime_api/main.js @@ -61,8 +61,12 @@ if (Deno.build.os === "windows") { // TLS // Since these tests may run in parallel, ensure this port is unique to this file const tlsPort = 4510; -const cert = Deno.readTextFileSync("../../../testdata/tls/localhost.crt"); -const key = Deno.readTextFileSync("../../../testdata/tls/localhost.key"); +const cert = Deno.readTextFileSync( + new URL("../../../testdata/tls/localhost.crt", import.meta.url), +); +const key = Deno.readTextFileSync( + new URL("../../../testdata/tls/localhost.key", import.meta.url), +); const tlsListener = Deno.listenTls({ port: tlsPort, cert, key }); console.log("Deno.TlsListener.prototype.rid is", tlsListener.rid); @@ -88,4 +92,6 @@ try { } } +console.log("Deno.customInspect is", Deno.customInspect); + self.close(); |