From b4d74a564bd2c16637b21d957d2eebfb5d63592f Mon Sep 17 00:00:00 2001 From: Uzlopak Date: Mon, 15 May 2023 09:21:23 +0200 Subject: [PATCH] fix ci pipeline (#312) --- test/core-with-path-in-base.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/core-with-path-in-base.test.js b/test/core-with-path-in-base.test.js index be60c26a..caa18c98 100644 --- a/test/core-with-path-in-base.test.js +++ b/test/core-with-path-in-base.test.js @@ -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!')