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

Commit

Permalink
fix: specify host explicitly in node tests (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain authored Jan 21, 2023
1 parent bff54fa commit d7e5a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/max-connections-close.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('close server on maxConnections', () => {
})

function createSocket (): net.Socket {
const socket = net.connect({ port })
const socket = net.connect({ host: '127.0.0.1', port })

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

0 comments on commit d7e5a69

Please sign in to comment.