Skip to content

Commit e680f42

Browse files
committed
test: update tls test endpoint
1 parent eb43d1c commit e680f42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/fixture/routes/node-compat.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const nodeCompatTests = {
3636
},
3737
tls: {
3838
connect: async () => {
39-
const socket = nodeTLS.connect(443, "1.1.1.1");
39+
// TODO: Use a local TLS server for testing
40+
const socket = nodeTLS.connect(443, "example.com");
4041
await new Promise<void>((r) => socket.on("connect", r));
4142
socket.end();
4243
return true;

0 commit comments

Comments
 (0)