Skip to content

Commit

Permalink
fix ci pipeline (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored May 15, 2023
1 parent c077408 commit b4d74a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/core-with-path-in-base.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ target.listen({ port: 0 }, (err) => {
instance.listen({ port: 0 }, (err) => {
t.error(err)

get(`http://localhost:${instance.server.address().port}`, (err, res, data) => {
get({
url: `http://localhost:${instance.server.address().port}`,
agent: false
}, (err, res, data) => {
t.error(err)
t.equal(res.headers['content-type'], 'text/plain')
t.equal(res.headers['x-my-header'], 'hello!')
Expand Down

0 comments on commit b4d74a5

Please sign in to comment.