Skip to content

Commit 6794f60

Browse files
committedFeb 8, 2025
fix hosts in node-unref-tests.js
1 parent de85afd commit 6794f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/node-unref-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async function tests() {
2020
const context = await esbuild.context({})
2121
try {
2222
const server = await context.serve({})
23-
assert.strictEqual(server.host, '0.0.0.0')
23+
assert(server.hosts.includes('127.0.0.1'))
2424
assert.strictEqual(typeof server.port, 'number')
2525
} finally {
2626
await context.dispose()

0 commit comments

Comments
 (0)