Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit d7e5a69

Browse files
authored
fix: specify host explicitly in node tests (#247)
1 parent bff54fa commit d7e5a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/max-connections-close.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('close server on maxConnections', () => {
3232
})
3333

3434
function createSocket (): net.Socket {
35-
const socket = net.connect({ port })
35+
const socket = net.connect({ host: '127.0.0.1', port })
3636

3737
// eslint-disable-next-line @typescript-eslint/promise-function-async
3838
afterEachCallbacks.unshift(async () => {

0 commit comments

Comments
 (0)