From 2732eeff9e6994582293b5aaa0cb158b7e272e9e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 9 Dec 2022 11:14:47 +0100 Subject: Fix CI using 127.0.0.1 for tests --- server/tests/helpers/request.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/helpers') diff --git a/server/tests/helpers/request.ts b/server/tests/helpers/request.ts index a85d80b88..363237df5 100644 --- a/server/tests/helpers/request.ts +++ b/server/tests/helpers/request.ts @@ -41,7 +41,7 @@ describe('Request helpers', function () { const port = await mock.initialize() const before = new Date().getTime() - await doRequest('http://localhost:' + port) + await doRequest('http://127.0.0.1:' + port) expect(new Date().getTime() - before).to.be.greaterThan(2000) -- cgit v1.2.3