Files
Kamil Mysliwiec 2731c18054 test: listen on 127.0.0.1 before supertest sends requests (#18064)
Given a server that is not listening, supertest listens on port 0 of
every interface and sends its requests to 127.0.0.1, where another
process can hold the same port; tests then failed now and then with
"socket hang up" or an unexpected response. Add a shared
listenOnLoopback() helper and use it in place of app.init() in the
specs that test through supertest.
2026-10-09 11:33:52 +02:00
..
2026-02-09 14:10:04 +01:00