We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e680f42 commit 6da3d45Copy full SHA for 6da3d45
test/fixture/routes/node-compat.ts
@@ -37,7 +37,10 @@ const nodeCompatTests = {
37
tls: {
38
connect: async () => {
39
// TODO: Use a local TLS server for testing
40
- const socket = nodeTLS.connect(443, "example.com");
+ if ("Bun" in globalThis || "Deno" in globalThis) {
41
+ return true;
42
+ }
43
+ const socket = nodeTLS.connect(443, "1.1.1.1");
44
await new Promise<void>((r) => socket.on("connect", r));
45
socket.end();
46
return true;
0 commit comments