Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor "forceSamePort" to use options instead of arguments #580

Open
hasezoey opened this issue Nov 25, 2021 · 0 comments
Open

Refactor "forceSamePort" to use options instead of arguments #580

hasezoey opened this issue Nov 25, 2021 · 0 comments

Comments

@hasezoey
Copy link
Member

Why

Currently, there only exists the forceSamePort argument in MongoMemoryServer on .start, _startUpInstance and getStartOptions, and does not really convey how it works

How

Maybe by using options beside just port to convey forcePort (no port generation) or other behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant