forwardemail / forwardemail/supertest

Use Hostname with Ephemeral Port

Open
#707 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.4k
Forks
782
PR merge metrics
No merged PRs in 30d

Description

I have a battery of tests which need to create a new Express app each. As expected without calling listen(PORT) I get an ephemeral port for every request.

Is there any way I can map the request to a domain name like http://server.com which points to the ephemeral port?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.