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

fix: specify host explicitly in node tests #247

Merged
merged 1 commit into from
Jan 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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