Skip to content

Commit

Permalink
test: unify default host
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Mar 2, 2024
1 parent c07d6de commit 1eb7f77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/metascraper-audio/test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const runServer = async (t, handler, opts) => {
res.end()
}
})
const url = await listen(server, { port: 0, host: '0.0.0.0', ...opts })
const url = await listen(server, { port: 0, host: '127.0.0.1', ...opts })
t.teardown(() => closeServer(server))
return url.toString()
}
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-logo-favicon/test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const runServer = async (t, handler, opts) => {
res.end()
}
})
const url = await listen(server, { port: 0, host: '0.0.0.0', ...opts })
const url = await listen(server, { port: 0, host: '127.0.0.1', ...opts })
t.teardown(() => closeServer(server))
return url.toString()
}
Expand Down
2 changes: 1 addition & 1 deletion packages/metascraper-video/test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const runServer = async (t, handler, opts) => {
res.end()
}
})
const url = await listen(server, { port: 0, host: '0.0.0.0', ...opts })
const url = await listen(server, { port: 0, host: '127.0.0.1', ...opts })
t.teardown(() => closeServer(server))
return url.toString()
}
Expand Down

0 comments on commit 1eb7f77

Please sign in to comment.