Skip to content

Commit

Permalink
fix hosts in node-unref-tests.js
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Feb 8, 2025
1 parent de85afd commit 6794f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/node-unref-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function tests() {
const context = await esbuild.context({})
try {
const server = await context.serve({})
assert.strictEqual(server.host, '0.0.0.0')
assert(server.hosts.includes('127.0.0.1'))
assert.strictEqual(typeof server.port, 'number')
} finally {
await context.dispose()
Expand Down

0 comments on commit 6794f60

Please # to comment.