Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: try to fix ci issue #396

Merged
merged 7 commits into from
Dec 30, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix
Uzlopak committed Dec 29, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 4ba64b1a78696993b1c8c0fab55c7963bcc1a152
4 changes: 2 additions & 2 deletions test/fix-GHSA-v2v2-hph8-q5xp.test.js
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ describe('GHSA-v2v2-hph8-q5xp', function () {
if (request.body.method === 'invalid_method') {
return reply.code(400).send({ message: 'payload contains invalid method' })
}
reply.from(`http://127.0.0.1:${upstream.server.address().port}/test`)
reply.from(`http://${upstream.server.address().address}:${upstream.server.address().port}/test`)
})

await app.listen({ port: 0 })
@@ -37,7 +37,7 @@ describe('GHSA-v2v2-hph8-q5xp', function () {
})

const response = await fetch(
`http://127.0.0.1:${app.server.address().port}/test`,
`http://${app.server.address().address}:${app.server.address().port}/test`,
{
headers: { 'content-type': 'application/json ; charset=utf-8' },
// eslint-disable-next-line no-useless-escape